Kaydet (Commit) e575e89b authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-function

Change-Id: I46f438646c79421eafa894ee0803a3dd8c75c319
üst 9dd8510e
...@@ -1941,27 +1941,6 @@ Point ScTabView::GetMousePosPixel() ...@@ -1941,27 +1941,6 @@ Point ScTabView::GetMousePosPixel()
return aPos; return aPos;
} }
namespace
{
bool lcl_MouseIsOverWin( const Point& rScreenPosPixel, vcl::Window* pWin )
{
if (pWin)
{
// SPLIT_HANDLE_SIZE draufaddieren, damit das Einrasten genau
// auf dem Splitter nicht aussetzt
Point aRel = pWin->NormalizedScreenToOutputPixel( rScreenPosPixel );
Size aWinSize = pWin->GetOutputSizePixel();
if ( aRel.X() >= 0 && aRel.X() < aWinSize.Width() + SPLIT_HANDLE_SIZE &&
aRel.Y() >= 0 && aRel.Y() < aWinSize.Height() + SPLIT_HANDLE_SIZE )
return true;
}
return false;
}
} // anonymous namespace
void ScTabView::FreezeSplitters( bool bFreeze ) void ScTabView::FreezeSplitters( bool bFreeze )
{ {
ScSplitMode eOldH = aViewData.GetHSplitMode(); ScSplitMode eOldH = aViewData.GetHSplitMode();
......
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