diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-23 09:38:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-23 10:51:13 +0000 |
commit | 8ab1fe71f546dd5f8d3ec8f53a0fb31e24d55adc (patch) | |
tree | 0fb2ccbfea84f9c527964889e6066fa89ace1066 /sfx2 | |
parent | 61ecebe0d0febe8429d965355356a9f0f34b323b (diff) |
remove unused helpid in SfxShell
Unused since commit 2c8fe2e737b84ecd3dbac36a4fe6bd061bbd3bae
"update unusedmethods plugin to deal with constructors"
where I removed a unused SfxDockingWindow constructor.
And in that case, the helpid was only being used to assign
the window a UniqueId.
Change-Id: I148e424424fcf08449440b83a8600071b39d7a07
Reviewed-on: https://gerrit.libreoffice.org/35554
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/shell.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx index a1a69b6cf169..a6afc6dcef9c 100644 --- a/sfx2/source/control/shell.cxx +++ b/sfx2/source/control/shell.cxx @@ -62,7 +62,6 @@ struct SfxShell_Impl: public SfxBroadcaster SfxRepeatTarget* pRepeatTarget; // SbxObjectRef xParent; bool bActive; SfxDisableFlags nDisableFlags; - sal_uIntPtr nHelpId; svtools::AsynchronLink* pExecuter; svtools::AsynchronLink* pUpdater; std::vector<std::unique_ptr<SfxSlot> > aSlotArr; @@ -76,7 +75,6 @@ struct SfxShell_Impl: public SfxBroadcaster , pRepeatTarget(nullptr) , bActive(false) , nDisableFlags(SfxDisableFlags::NONE) - , nHelpId(0) , pExecuter(nullptr) , pUpdater(nullptr) { @@ -639,16 +637,6 @@ const SfxSlot* SfxShell::GetVerbSlot_Impl(sal_uInt16 nId) const return nullptr; } -void SfxShell::SetHelpId(sal_uIntPtr nId) -{ - pImpl->nHelpId = nId; -} - -sal_uIntPtr SfxShell::GetHelpId() const -{ - return pImpl->nHelpId; -} - SfxObjectShell* SfxShell::GetObjectShell() { if ( GetViewShell() ) |