diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2017-05-17 20:58:48 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-05-18 00:30:31 +0300 |
commit | 29dd77c749f6bdae19ba1e81b0470f9009c42537 (patch) | |
tree | 8d6e2fb45ab64052b8138047a265f33f7c8708d3 /include/framework | |
parent | 7d2ca8f226e3566e7e097f2eba940d98c5b5089e (diff) |
Use CommandInfoProvider::GetModuleIdentifier
Change-Id: I09f23360259e794ab2a0d8ad6d8bf6fc18d08597
Diffstat (limited to 'include/framework')
-rw-r--r-- | include/framework/addonmenu.hxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/framework/addonmenu.hxx b/include/framework/addonmenu.hxx index 52f6cc79d7e8..363982f777d1 100644 --- a/include/framework/addonmenu.hxx +++ b/include/framework/addonmenu.hxx @@ -43,19 +43,16 @@ class FWE_DLLPUBLIC AddonMenuManager static bool IsCorrectContext(const OUString& rModuleIdentifier, const OUString& rContext); // Create the Add-Ons menu - static VclPtr<PopupMenu> CreateAddonMenu( const css::uno::Reference< css::frame::XFrame >& rFrame, - const css::uno::Reference< css::uno::XComponentContext >& rContext ); + static VclPtr<PopupMenu> CreateAddonMenu( const css::uno::Reference< css::frame::XFrame >& rFrame ); // Merge the Add-Ons help menu items into the given menu bar at a defined pos static void MergeAddonHelpMenu( const css::uno::Reference< css::frame::XFrame >& rFrame, - MenuBar* pMergeMenuBar, - const css::uno::Reference< css::uno::XComponentContext >& rContext ); + MenuBar* pMergeMenuBar ); // Merge the addon popup menus into the given menu bar at the provided pos. static void MergeAddonPopupMenus( const css::uno::Reference< css::frame::XFrame >& rFrame, sal_uInt16 nMergeAtPos, - MenuBar* pMergeMenuBar, - const css::uno::Reference< css::uno::XComponentContext >& rContext ); + MenuBar* pMergeMenuBar ); // Returns the next position to insert a menu item/sub menu static sal_uInt16 GetNextPos( sal_uInt16 nPos ); |