diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-21 14:03:18 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-25 15:16:57 +0200 |
commit | a77461db606859f8b29b24990094deaceed07114 (patch) | |
tree | a13e553a3ef973eb004c6f3156d5642a532bda9e /framework | |
parent | 6fe80c5b46ff09239c9583b6aefcc8dc25841239 (diff) |
remove unused code framework::MenuManager::getContext()
Change-Id: I3b6d8bf6d83033b36a2e72eb5c984f5d9c47b771
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/classes/menumanager.hxx | 2 | ||||
-rw-r--r-- | framework/source/classes/menumanager.cxx | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/framework/inc/classes/menumanager.hxx b/framework/inc/classes/menumanager.hxx index 5a3339552efd..e0f68ae858e2 100644 --- a/framework/inc/classes/menumanager.hxx +++ b/framework/inc/classes/menumanager.hxx @@ -69,8 +69,6 @@ class MenuManager : public ThreadHelpBase , void RemoveListener(); - const css::uno::Reference< css::uno::XComponentContext >& getContext(); - static void UpdateSpecialWindowMenu( Menu* pMenu ,const css::uno::Reference< css::uno::XComponentContext >& xContext,IMutex& _rMutex); static void FillMenuImages( css::uno::Reference< css::frame::XFrame >& xFrame, diff --git a/framework/source/classes/menumanager.cxx b/framework/source/classes/menumanager.cxx index 57eeb412cae1..bbef40e7e87b 100644 --- a/framework/source/classes/menumanager.cxx +++ b/framework/source/classes/menumanager.cxx @@ -913,11 +913,6 @@ IMPL_LINK_NOARG(MenuManager, Highlight) return 0; } -const Reference< XComponentContext >& MenuManager::getContext() -{ - return m_xContext; -} - void MenuManager::AddMenu(PopupMenu* _pPopupMenu,const OUString& _sItemCommand,sal_uInt16 _nItemId,sal_Bool _bDelete,sal_Bool _bDeleteChildren) { MenuManager* pSubMenuManager = new MenuManager( m_xContext, m_xFrame, _pPopupMenu, _bDelete, _bDeleteChildren ); |