diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-16 13:58:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-16 14:12:52 +0200 |
commit | 5ba32287aebc1e4d3a1e114699cb1b479d3f13f7 (patch) | |
tree | 15de22e58fab1f3b301ac27c2490f8caf6cb2d20 /sw | |
parent | 08e7bc6abd93947627e7a38646a02f9d44ddabed (diff) |
remove unused Link<> field
Change-Id: Idfd163528b173b7428a3febfde271762a9d31d03
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/cctrl/popbox.cxx | 12 | ||||
-rw-r--r-- | sw/source/uibase/inc/popbox.hxx | 5 |
2 files changed, 0 insertions, 17 deletions
diff --git a/sw/source/uibase/cctrl/popbox.cxx b/sw/source/uibase/cctrl/popbox.cxx index ded277b2bfb0..6a1f301ddf96 100644 --- a/sw/source/uibase/cctrl/popbox.cxx +++ b/sw/source/uibase/cctrl/popbox.cxx @@ -28,18 +28,6 @@ SwHelpToolBox::SwHelpToolBox( SwNavigationPI* pParent, const ResId& rResId ) { } -void SwHelpToolBox::MouseButtonDown(const MouseEvent &rEvt) -{ - // If doubleclick is detected use doubleclick handler - if(rEvt.GetButtons() == MOUSE_RIGHT && - 0 == GetItemId(rEvt.GetPosPixel())) - { - aRightClickLink.Call(const_cast<MouseEvent *>(&rEvt)); - } - else - ToolBox::MouseButtonDown(rEvt); -} - SwHelpToolBox::~SwHelpToolBox() {} sal_Int8 SwHelpToolBox::AcceptDrop( const AcceptDropEvent& rEvt ) diff --git a/sw/source/uibase/inc/popbox.hxx b/sw/source/uibase/inc/popbox.hxx index 43b6ce338e74..7793755f9991 100644 --- a/sw/source/uibase/inc/popbox.hxx +++ b/sw/source/uibase/inc/popbox.hxx @@ -26,12 +26,7 @@ class SwNavigationPI; class SwHelpToolBox: public ToolBox, public DropTargetHelper { - Link<> aRightClickLink; // link gets mouse event as parameter !!! - - using ToolBox::DoubleClick; - protected: - virtual void MouseButtonDown(const MouseEvent &rEvt) override; virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ) override; virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ) override; |