diff options
Diffstat (limited to 'sfx2')
-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, |