From 42d6a165b053ebdccbd6979eb849b1abe305d2ba Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Fri, 11 Mar 2016 00:45:56 +0200 Subject: framework: Kill BmkMenu Change-Id: I182e752f5602d946f27206a1bb744c5d2248bdf8 --- framework/source/fwe/xml/menuconfiguration.cxx | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'framework/source/fwe/xml/menuconfiguration.cxx') diff --git a/framework/source/fwe/xml/menuconfiguration.cxx b/framework/source/fwe/xml/menuconfiguration.cxx index 1cec54b2b557..fcda2ed2f1d4 100644 --- a/framework/source/fwe/xml/menuconfiguration.cxx +++ b/framework/source/fwe/xml/menuconfiguration.cxx @@ -19,7 +19,6 @@ #include -#include #include #include #include @@ -100,18 +99,6 @@ Reference< XIndexAccess > MenuConfiguration::CreateMenuBarConfigurationFromXML( } } -PopupMenu* MenuConfiguration::CreateBookmarkMenu(css::uno::Reference& rFrame, const OUString& aURL) - throw (css::lang::WrappedTargetException, - css::uno::RuntimeException) -{ - if ( aURL == BOOKMARK_NEWMENU ) - return new BmkMenu( rFrame, BmkMenu::BMK_NEWMENU ); - else if ( aURL == BOOKMARK_WIZARDMENU ) - return new BmkMenu( rFrame, BmkMenu::BMK_WIZARDMENU ); - else - return nullptr; -} - void MenuConfiguration::StoreMenuBarConfigurationToXML( Reference< XIndexAccess >& rMenuBarConfiguration, Reference< XOutputStream >& rOutputStream, bool bIsMenuBar ) -- cgit v1.2.3