diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-16 11:54:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-18 13:00:38 +0200 |
commit | 9fa32e5dce345dea17129587c401c03520fb398b (patch) | |
tree | e33696647bcce308420d45b4d25246201f0a27a5 /sfx2/source/inc | |
parent | a0c15b39cb30736e04564420f55c50fefb51e41a (diff) |
loplugin:unusedfields in sfx2
and fix leak of HelpListener_Impl in SfxHelpWindow_Impl
Change-Id: I7450be10c8deaf63b7c7f1f4359b4eaf0083bdd4
Reviewed-on: https://gerrit.libreoffice.org/54451
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/inc')
-rw-r--r-- | sfx2/source/inc/sfxpicklist.hxx | 3 | ||||
-rw-r--r-- | sfx2/source/inc/workwin.hxx | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/inc/sfxpicklist.hxx b/sfx2/source/inc/sfxpicklist.hxx index 2ff52d1c44b3..bce382461c7d 100644 --- a/sfx2/source/inc/sfxpicklist.hxx +++ b/sfx2/source/inc/sfxpicklist.hxx @@ -35,7 +35,8 @@ class SfxPickList private: std::unique_ptr<SfxPickListImpl> mxImpl; public: - SfxPickList(sal_uInt32 nAllowedMenuSize); + SfxPickList(); + /// Ensure instantiation of listener that manages the internal recently-used list static void ensure(); ~SfxPickList(); }; diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx index c3286960a568..cf332f74c3bd 100644 --- a/sfx2/source/inc/workwin.hxx +++ b/sfx2/source/inc/workwin.hxx @@ -194,7 +194,6 @@ class SfxWorkWindow final aChildWins; SfxBindings* pBindings; VclPtr<vcl::Window> pWorkWin; - SfxShell* pConfigShell; VclPtr<vcl::Window> pActiveChild; SfxVisibilityFlags nUpdateMode; sal_uInt16 nChildren; |