diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-20 12:13:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-20 10:45:14 +0000 |
commit | b18e1bc61ccba9d0c74274e2fe45b2b422c601cf (patch) | |
tree | 13d90e6939c5d152c30b948148125be7b0cb6f22 /include/framework | |
parent | 8a382d4ad190cf07cbd6b1fd6b903975134b0cf1 (diff) |
loplugin:unusedfields
Change-Id: I852e98b16fdcb88b04e39d11e3101d502c918c24
Reviewed-on: https://gerrit.libreoffice.org/29078
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
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 136aa88cad9f..c11eea13b177 100644 --- a/include/framework/addonmenu.hxx +++ b/include/framework/addonmenu.hxx @@ -37,11 +37,8 @@ namespace framework class FWE_DLLPUBLIC AddonMenu : public PopupMenu { public: - AddonMenu( const css::uno::Reference< css::frame::XFrame >& rFrame ); + AddonMenu(); virtual ~AddonMenu() override; - - protected: - css::uno::Reference< css::frame::XFrame > m_xFrame; }; class AddonMenuManager; @@ -57,7 +54,7 @@ class FWE_DLLPUBLIC AddonPopupMenu : public AddonMenu void SetCommandURL( const OUString& aCmdURL ) { m_aCommandURL = aCmdURL; } private: - AddonPopupMenu( const css::uno::Reference< css::frame::XFrame >& rFrame ); + AddonPopupMenu(); OUString m_aCommandURL; @@ -82,7 +79,7 @@ class FWE_DLLPUBLIC AddonMenuManager static bool IsCorrectContext(const OUString& rModuleIdentifier, const OUString& rContext); // Factory method to create different Add-On menu types - static VclPtr<PopupMenu> CreatePopupMenuType( MenuType eMenuType, const css::uno::Reference< css::frame::XFrame >& rFrame ); + static VclPtr<PopupMenu> CreatePopupMenuType( MenuType eMenuType ); // Create the Add-Ons menu static VclPtr<AddonMenu> CreateAddonMenu( const css::uno::Reference< css::frame::XFrame >& rFrame, |