summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-05 11:40:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-05 11:40:16 +0100
commite575e89b296f3f4356b1644730e574fe25bbcac8 (patch)
treed6f8f4dba45ed3af41170a23989c0abae6cf4744 /sc/source/ui/view
parent9dd8510e41dbdeb39598eed04e260525810141ce (diff)
-Werror,-Wunused-function
Change-Id: I46f438646c79421eafa894ee0803a3dd8c75c319
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/tabview.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 24ab8ecc06e6..7905ff40b0fb 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -1941,27 +1941,6 @@ Point ScTabView::GetMousePosPixel()
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 )
{
ScSplitMode eOldH = aViewData.GetHSplitMode();