diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-25 18:52:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-26 09:13:27 +0200 |
commit | 8ced5266f277734f9b7a48db6408056892d38ac4 (patch) | |
tree | e87c29a186487c65388c297e5a13efff6f45ab9b /sc/source/ui/inc/tabvwsh.hxx | |
parent | fde332fc9d59102749dbeb20f4e78e2233152e1b (diff) |
loplugin:constparam in sc part7
Change-Id: Ica5421ddc343ce18a08f993778f42183b571ed0e
Reviewed-on: https://gerrit.libreoffice.org/41578
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/inc/tabvwsh.hxx')
-rw-r--r-- | sc/source/ui/inc/tabvwsh.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx index 2a7e6690004a..7fd417808646 100644 --- a/sc/source/ui/inc/tabvwsh.hxx +++ b/sc/source/ui/inc/tabvwsh.hxx @@ -254,9 +254,9 @@ public: void ExecDrawIns(SfxRequest& rReq); void GetDrawState(SfxItemSet &rSet); void GetDrawInsState(SfxItemSet &rSet); - void ExecGallery(SfxRequest& rReq); + void ExecGallery(const SfxRequest& rReq); - void ExecChildWin(SfxRequest& rReq); + void ExecChildWin(const SfxRequest& rReq); void ExecImageMap( SfxRequest& rReq ); void GetImageMapState( SfxItemSet& rSet ); @@ -268,10 +268,10 @@ public: void ExecuteUndo(SfxRequest& rReq); void GetUndoState(SfxItemSet &rSet); - void ExecuteObject(SfxRequest& rReq); + void ExecuteObject(const SfxRequest& rReq); void GetObjectState(SfxItemSet &rSet); - void ExecDrawOpt(SfxRequest& rReq); + void ExecDrawOpt(const SfxRequest& rReq); void GetDrawOptState(SfxItemSet &rSet); void UpdateDrawShell(); @@ -321,14 +321,14 @@ public: virtual bool HasPrintOptionsPage() const override; virtual VclPtr<SfxTabPage> CreatePrintOptionsPage( vcl::Window *pParent, const SfxItemSet &rOptions ) override; - void ConnectObject( SdrOle2Obj* pObj ); + void ConnectObject( const SdrOle2Obj* pObj ); void ActivateObject( SdrOle2Obj* pObj, long nVerb ); void DeactivateOle(); static ScTabViewShell* GetActiveViewShell(); VclPtr<SfxModelessDialog> CreateRefDialog( SfxBindings* pB, SfxChildWindow* pCW, - SfxChildWinInfo* pInfo, + const SfxChildWinInfo* pInfo, vcl::Window* pParent, sal_uInt16 nSlotId ); void UpdateOleZoom(); @@ -348,7 +348,7 @@ public: void ForceMove() { Move(); } - static SvxNumberInfoItem* MakeNumberInfoItem( ScDocument* pDoc, ScViewData* pViewData ); + static SvxNumberInfoItem* MakeNumberInfoItem( ScDocument* pDoc, const ScViewData* pViewData ); static void UpdateNumberFormatter( const SvxNumberInfoItem& rInfoItem ); @@ -372,7 +372,7 @@ public: using ScTabView::ShowCursor; bool IsActive() const { return bIsActive; } - OUString GetFormula(ScAddress& rAddress); + OUString GetFormula(const ScAddress& rAddress); bool UseSubTotal(ScRangeList* pRangeList); const OUString DoAutoSum(bool& rRangeFinder, bool& rSubTotal); |