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/tabview.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/tabview.hxx')
-rw-r--r-- | sc/source/ui/inc/tabview.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx index a605535369ec..88fcb7e3b4bc 100644 --- a/sc/source/ui/inc/tabview.hxx +++ b/sc/source/ui/inc/tabview.hxx @@ -226,7 +226,7 @@ private: void UpdateVarZoom(); static void SetScrollBar( ScrollBar& rScroll, long nRangeMax, long nVisible, long nPos, bool bLayoutRTL ); - static long GetScrollBarPos( ScrollBar& rScroll ); + static long GetScrollBarPos( const ScrollBar& rScroll ); void GetAreaMoveEndPosition(SCCOL nMovX, SCROW nMovY, ScFollowMode eMode, SCCOL& rAreaX, SCROW& rAreaY, ScFollowMode& rMode); @@ -244,7 +244,7 @@ private: * **/ - void PaintRangeFinderEntry (ScRangeFindData* pData, SCTAB nTab); + void PaintRangeFinderEntry (const ScRangeFindData* pData, SCTAB nTab); protected: void UpdateHeaderWidth( const ScVSplitPos* pWhich = nullptr, @@ -366,7 +366,7 @@ public: ScGridWindow* GetActiveWin(); vcl::Window* GetWindowByPos( ScSplitPos ePos ) { return pGridWin[ePos]; } - ScSplitPos FindWindow( vcl::Window* pWindow ) const; + ScSplitPos FindWindow( const vcl::Window* pWindow ) const; void SetActivePointer( const Pointer& rPointer ); @@ -451,7 +451,7 @@ public: bool ScrollCommand( const CommandEvent& rCEvt, ScSplitPos ePos ); - void ScrollToObject( SdrObject* pDrawObj ); + void ScrollToObject( const SdrObject* pDrawObj ); void MakeVisible( const tools::Rectangle& rHMMRect ); // Drawing |