diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-14 11:27:52 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-14 10:21:55 +0000 |
commit | 06ea347b939895d3091ce747c26de58f4d4a766a (patch) | |
tree | e93a25d2aadc36c263a8ccd8b593449b37fb8b6b /framework/source/uielement/controlmenucontroller.cxx | |
parent | 9be8c4f21200aeec5b334d9536b3b7a0b72c24fa (diff) |
loplugin:unusedmethods svtools
Change-Id: I04ad31055c04a247faddf4311943ca769051473c
Reviewed-on: https://gerrit.libreoffice.org/17032
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'framework/source/uielement/controlmenucontroller.cxx')
-rw-r--r-- | framework/source/uielement/controlmenucontroller.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/framework/source/uielement/controlmenucontroller.cxx b/framework/source/uielement/controlmenucontroller.cxx index 5f222ddec194..f37038e6817d 100644 --- a/framework/source/uielement/controlmenucontroller.cxx +++ b/framework/source/uielement/controlmenucontroller.cxx @@ -219,7 +219,6 @@ public: private: virtual void impl_setPopupMenu() SAL_OVERRIDE; - virtual void impl_select(const uno::Reference< frame::XDispatch >& _xDispatch,const util::URL& aURL) SAL_OVERRIDE; class UrlToDispatchMap : public std::unordered_map< OUString, uno::Reference< frame::XDispatch >, @@ -361,18 +360,6 @@ void SAL_CALL ControlMenuController::statusChanged( const FeatureStateEvent& Eve } // XMenuListener -void ControlMenuController::impl_select(const Reference< XDispatch >& /*_xDispatch*/,const ::com::sun::star::util::URL& aURL) -{ - UrlToDispatchMap::iterator pIter = m_aURLToDispatchMap.find( aURL.Complete ); - if ( pIter != m_aURLToDispatchMap.end() ) - { - Sequence<PropertyValue> aArgs; - Reference< XDispatch > xDispatch = pIter->second; - if ( xDispatch.is() ) - xDispatch->dispatch( aURL, aArgs ); - } -} - void SAL_CALL ControlMenuController::itemActivated( const css::awt::MenuEvent& ) throw (RuntimeException, std::exception) { osl::ResettableMutexGuard aLock( m_aMutex ); |