diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-21 11:07:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-21 14:23:07 +0200 |
commit | d7824bf16898d8cb776420e0c2bff82e6df61b86 (patch) | |
tree | 88405234c55eb24a3d7770c833ac8eeea2db412e /sfx2/source/toolbox/tbxitem.cxx | |
parent | f05d0d05829dd51cb9d8071ac97cc219779ee40a (diff) |
loplugin:unusedfields in sfx2 part2
Change-Id: I227b643641250d47ac6b2218f57ddb231765960e
Reviewed-on: https://gerrit.libreoffice.org/39038
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/toolbox/tbxitem.cxx')
-rw-r--r-- | sfx2/source/toolbox/tbxitem.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx index 24d8266881b6..22a2d3e82c5f 100644 --- a/sfx2/source/toolbox/tbxitem.cxx +++ b/sfx2/source/toolbox/tbxitem.cxx @@ -176,7 +176,6 @@ struct SfxToolBoxControl_Impl { VclPtr<ToolBox> pBox; bool bShowString; - SfxTbxCtrlFactory* pFact; sal_uInt16 nTbxId; sal_uInt16 nSlotId; VclPtr<SfxPopupWindow> mpFloatingWindow; @@ -208,7 +207,6 @@ SfxToolBoxControl::SfxToolBoxControl( { pImpl->pBox = &rBox; pImpl->bShowString = bShowStringItems; - pImpl->pFact = nullptr; pImpl->nTbxId = nID; pImpl->nSlotId = nSlotID; pImpl->mpFloatingWindow = nullptr; @@ -300,7 +298,6 @@ SfxToolBoxControl* SfxToolBoxControl::CreateControl( sal_uInt16 nSlotId, sal_uIn if( nFactory < nCount ) { pCtrl = rFactories[nFactory].pCtor( nSlotId, nTbxId, *pBox ); - pCtrl->pImpl->pFact = &rFactories[nFactory]; return pCtrl; } } @@ -326,7 +323,6 @@ SfxToolBoxControl* SfxToolBoxControl::CreateControl( sal_uInt16 nSlotId, sal_uIn if( nFactory < nCount ) { pCtrl = rFactories[nFactory].pCtor( nSlotId, nTbxId, *pBox ); - pCtrl->pImpl->pFact = &rFactories[nFactory]; return pCtrl; } } |