diff options
-rw-r--r-- | sw/source/uibase/cctrl/popbox.cxx | 13 | ||||
-rw-r--r-- | sw/source/uibase/inc/popbox.hxx | 6 |
2 files changed, 2 insertions, 17 deletions
diff --git a/sw/source/uibase/cctrl/popbox.cxx b/sw/source/uibase/cctrl/popbox.cxx index 6a1f301ddf96..7853e942b1b2 100644 --- a/sw/source/uibase/cctrl/popbox.cxx +++ b/sw/source/uibase/cctrl/popbox.cxx @@ -23,21 +23,10 @@ #include <navipi.hxx> SwHelpToolBox::SwHelpToolBox( SwNavigationPI* pParent, const ResId& rResId ) - : ToolBox( pParent, rResId ), - DropTargetHelper( this ) + : ToolBox( pParent, rResId ) { } SwHelpToolBox::~SwHelpToolBox() {} -sal_Int8 SwHelpToolBox::AcceptDrop( const AcceptDropEvent& rEvt ) -{ - return static_cast<SwNavigationPI*>(GetParent())->AcceptDrop( rEvt ); -} - -sal_Int8 SwHelpToolBox::ExecuteDrop( const ExecuteDropEvent& rEvt ) -{ - return static_cast<SwNavigationPI*>(GetParent())->ExecuteDrop( rEvt ); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/uibase/inc/popbox.hxx b/sw/source/uibase/inc/popbox.hxx index af89d0e07da2..3e9dbf90db08 100644 --- a/sw/source/uibase/inc/popbox.hxx +++ b/sw/source/uibase/inc/popbox.hxx @@ -24,12 +24,8 @@ class SwNavigationPI; -class SwHelpToolBox: public ToolBox, public DropTargetHelper +class SwHelpToolBox: public ToolBox { -protected: - virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ) override; - virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ) override; - public: SwHelpToolBox(SwNavigationPI* pParent, const ResId &); virtual ~SwHelpToolBox() override; |