diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-03 10:33:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-03 16:30:36 +0100 |
commit | 130354cf8e506798900b01460ae5cd7b5ff82bc0 (patch) | |
tree | 3eae864fdecc1eda43f7e1fe28dda48664f721e1 /sc | |
parent | b8ddd25acb0f47db6ccaefd9e1ae7edd40d44d73 (diff) |
coverity#1242454 Identical code for different branches
Splitter derives from Window and doesn't override
MouseButtonUp so both branches are the same
Change-Id: I9072d24b60dacfdb1d3e9ca1c97f08002f7e24ba
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/inc/tabsplit.hxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/tabsplit.cxx | 8 |
2 files changed, 0 insertions, 9 deletions
diff --git a/sc/source/ui/inc/tabsplit.hxx b/sc/source/ui/inc/tabsplit.hxx index a05aca5075b4..1572a7cda3a0 100644 --- a/sc/source/ui/inc/tabsplit.hxx +++ b/sc/source/ui/inc/tabsplit.hxx @@ -32,7 +32,6 @@ private: protected: virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE; - virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void Splitting( Point& rSplitPos ) SAL_OVERRIDE; diff --git a/sc/source/ui/view/tabsplit.cxx b/sc/source/ui/view/tabsplit.cxx index c2f15e457bbf..89b9ed4c58da 100644 --- a/sc/source/ui/view/tabsplit.cxx +++ b/sc/source/ui/view/tabsplit.cxx @@ -43,14 +43,6 @@ void ScTabSplitter::MouseMove( const MouseEvent& rMEvt ) Splitter::MouseMove( rMEvt ); } -void ScTabSplitter::MouseButtonUp( const MouseEvent& rMEvt ) -{ - if (bFixed) - Window::MouseButtonUp( rMEvt ); - else - Splitter::MouseButtonUp( rMEvt ); -} - void ScTabSplitter::MouseButtonDown( const MouseEvent& rMEvt ) { if (bFixed) |