diff options
Diffstat (limited to 'sc/source/ui/view/tabview.cxx')
-rw-r--r-- | sc/source/ui/view/tabview.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx index fe56acdbef19..e734401f04cd 100644 --- a/sc/source/ui/view/tabview.cxx +++ b/sc/source/ui/view/tabview.cxx @@ -1302,7 +1302,10 @@ void ScTabView::ScrollLines( long nDeltaX, long nDeltaY ) ScrollY(nDeltaY,WhichV(eWhich)); } -static SCROW lcl_LastVisible( ScViewData& rViewData ) +namespace +{ + +SCROW lcl_LastVisible( ScViewData& rViewData ) { // wenn am Dokumentende viele Zeilen ausgeblendet sind (welcher Trottel macht sowas?), // soll dadurch nicht auf breite Zeilenkoepfe geschaltet werden @@ -1317,6 +1320,8 @@ static SCROW lcl_LastVisible( ScViewData& rViewData ) return nVis; } +} // anonymous namespace + void ScTabView::UpdateHeaderWidth( const ScVSplitPos* pWhich, const SCROW* pPosY ) { if ( !pRowBar[SC_SPLIT_BOTTOM] || MAXROW < 10000 ) @@ -1884,7 +1889,10 @@ Point ScTabView::GetMousePosPixel() return aPos; } -static bool lcl_MouseIsOverWin( const Point& rScreenPosPixel, vcl::Window* pWin ) +namespace +{ + +bool lcl_MouseIsOverWin( const Point& rScreenPosPixel, vcl::Window* pWin ) { if (pWin) { @@ -1900,6 +1908,8 @@ static bool lcl_MouseIsOverWin( const Point& rScreenPosPixel, vcl::Window* pWin return false; } +} // anonymous namespace + void ScTabView::SnapSplitPos( Point& rScreenPosPixel ) { bool bOverWin = false; |