summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-21 14:01:39 +0200
committerNoel Grandin <noel@peralex.com>2014-02-25 15:16:56 +0200
commit6fe80c5b46ff09239c9583b6aefcc8dc25841239 (patch)
tree87fc34469adb918af5d8bcf3df73b67c16592624 /framework
parent6ef5009defd04273a10d1aa1a3de96eaa0470482 (diff)
remove unused code framework::MenuBarManager::getComponentContext()
Change-Id: If640b2662d47593c33d0f90cdafe448383546872
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/uielement/menubarmanager.hxx2
-rw-r--r--framework/source/uielement/menubarmanager.cxx5
2 files changed, 0 insertions, 7 deletions
diff --git a/framework/inc/uielement/menubarmanager.hxx b/framework/inc/uielement/menubarmanager.hxx
index 88ef560c91fd..77f9f5fef870 100644
--- a/framework/inc/uielement/menubarmanager.hxx
+++ b/framework/inc/uielement/menubarmanager.hxx
@@ -105,8 +105,6 @@ class MenuBarManager : public com::sun::star::frame::XStatusListener
sal_Bool bDelete,
sal_Bool bDeleteChildren );
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& getComponentContext();
-
virtual ~MenuBarManager();
// XInterface
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx
index 9226539ad224..05e914929041 100644
--- a/framework/source/uielement/menubarmanager.cxx
+++ b/framework/source/uielement/menubarmanager.cxx
@@ -1925,11 +1925,6 @@ void MenuBarManager::GetPopupController( PopupControllerCache& rPopupController
}
}
-const Reference< XComponentContext >& MenuBarManager::getComponentContext()
-{
- return m_xContext;
-}
-
void MenuBarManager::AddMenu(MenuBarManager* pSubMenuManager,const OUString& _sItemCommand,sal_uInt16 _nItemId)
{
Reference< XStatusListener > xSubMenuManager( static_cast< OWeakObject *>( pSubMenuManager ), UNO_QUERY );