From 8ab1fe71f546dd5f8d3ec8f53a0fb31e24d55adc Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 23 Mar 2017 09:38:05 +0200 Subject: 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 Reviewed-by: Noel Grandin --- sfx2/source/control/shell.cxx | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'sfx2') 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 > 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() ) -- cgit