diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-30 14:36:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-30 16:17:45 +0100 |
commit | facc94bb0aef58353d54e14f948790643ccbec32 (patch) | |
tree | 00da6a066f7acd65787730ffbe78b6439e5bf148 /sfx2/source | |
parent | b87af9775167002d36a3bc16cb308ea7895d7ea0 (diff) |
loplugin:unusedfields
Change-Id: Ifb9c91b3e8d6c2dd3a639a239fa41e7d5c7a4ee6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87735
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/sidebar/ControllerItem.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sfx2/source/sidebar/ControllerItem.cxx b/sfx2/source/sidebar/ControllerItem.cxx index 11698a1c264f..7e1a0ae88925 100644 --- a/sfx2/source/sidebar/ControllerItem.cxx +++ b/sfx2/source/sidebar/ControllerItem.cxx @@ -33,8 +33,7 @@ ControllerItem::ControllerItem ( SfxBindings &rBindings, ItemUpdateReceiverInterface& rItemUpdateReceiver) : SfxControllerItem(nSlotId, rBindings), - mrItemUpdateReceiver(rItemUpdateReceiver), - mxFrameActionListener() + mrItemUpdateReceiver(rItemUpdateReceiver) { } @@ -43,15 +42,6 @@ ControllerItem::~ControllerItem() dispose(); } -void ControllerItem::dispose() -{ - if (mxFrameActionListener.is()) - mxFrameActionListener->dispose(); - mxFrameActionListener.clear(); - - SfxControllerItem::dispose(); -} - void ControllerItem::StateChanged ( sal_uInt16 nSID, SfxItemState eState, |