summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/inc/tabsplit.hxx1
-rw-r--r--sc/source/ui/view/tabsplit.cxx12
2 files changed, 0 insertions, 13 deletions
diff --git a/sc/source/ui/inc/tabsplit.hxx b/sc/source/ui/inc/tabsplit.hxx
index a81e80316706..e2a5cb597c9e 100644
--- a/sc/source/ui/inc/tabsplit.hxx
+++ b/sc/source/ui/inc/tabsplit.hxx
@@ -32,7 +32,6 @@ private:
protected:
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
- virtual void Splitting( Point& rSplitPos ) SAL_OVERRIDE;
public:
ScTabSplitter( vcl::Window* pParent, WinBits nWinStyle,
diff --git a/sc/source/ui/view/tabsplit.cxx b/sc/source/ui/view/tabsplit.cxx
index 755aeef99808..073aaf11141e 100644
--- a/sc/source/ui/view/tabsplit.cxx
+++ b/sc/source/ui/view/tabsplit.cxx
@@ -43,18 +43,6 @@ void ScTabSplitter::MouseButtonDown( const MouseEvent& rMEvt )
Splitter::MouseButtonDown( rMEvt );
}
-void ScTabSplitter::Splitting( Point& rSplitPos )
-{
- vcl::Window* pParent = GetParent();
- Point aScreenPos = pParent->OutputToNormalizedScreenPixel( rSplitPos );
- pViewData->GetView()->SnapSplitPos( aScreenPos );
- Point aNew = pParent->NormalizedScreenToOutputPixel( aScreenPos );
- if ( IsHorizontal() )
- rSplitPos.X() = aNew.X();
- else
- rSplitPos.Y() = aNew.Y();
-}
-
void ScTabSplitter::SetFixed(bool bSet)
{
bFixed = bSet;