diff options
-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; |