summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-08-16 11:28:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-16 15:25:50 +0200
commitdcadca1bd54b3450a2c408d4629b53ca8b19efc3 (patch)
tree53ff6a8851bc876e2e8947afda7992c5fd13ad9f /sfx2
parenta6373c11938926d0f5d73be74aedfb4ab1d1720c (diff)
loplugin:unusedfields
Change-Id: I61fe1c43f4235eddfca80f2a8392c58d4b1380e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100818 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/objface.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sfx2/source/control/objface.cxx b/sfx2/source/control/objface.cxx
index f995eb9184e6..37fcf8e7b238 100644
--- a/sfx2/source/control/objface.cxx
+++ b/sfx2/source/control/objface.cxx
@@ -76,13 +76,9 @@ struct SfxInterface_Impl
aChildWindows; // registered ChildWindows
OUString aPopupName; // registered PopupMenu
StatusBarId eStatBarResId; // registered StatusBar
- SfxModule* pModule;
- bool bRegistered;
SfxInterface_Impl()
: eStatBarResId(StatusBarId::None)
- , pModule(nullptr)
- , bRegistered(false)
{
}
};
@@ -106,8 +102,6 @@ SfxInterface::SfxInterface( const char *pClassName,
void SfxInterface::Register( SfxModule* pMod )
{
- pImplData->bRegistered = true;
- pImplData->pModule = pMod;
if ( pMod )
pMod->GetSlotPool()->RegisterInterface(*this);
else