summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/classes/menumanager.hxx2
-rw-r--r--framework/source/classes/menumanager.cxx5
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 );