Kaydet (Commit) d91926de authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

tabview - put locals into anonymous namespace

Change-Id: I8af78740ce3c0533eeb5277f8065f3fd84cb8834
üst 7431bc26
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment