summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-18 11:45:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-21 10:56:13 +0200
commit855b30cf7065758ace0a55071d80789b7b93b552 (patch)
treee16d7cadab65a1ed0e149aa02d2bd5649e42f703 /sfx2
parent06845c14a17146b0ec50dd3704b6af9ee13927bc (diff)
loplugin:deadvirtual unused param in ItemUpdateReceiverInterface
Change-Id: I3db5a456a259a97dc9bdf6be0d478177bac05215 Reviewed-on: https://gerrit.libreoffice.org/81186 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/ControllerItem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/ControllerItem.cxx b/sfx2/source/sidebar/ControllerItem.cxx
index b7925ac2d13c..dc44975a1ac8 100644
--- a/sfx2/source/sidebar/ControllerItem.cxx
+++ b/sfx2/source/sidebar/ControllerItem.cxx
@@ -64,7 +64,7 @@ void ControllerItem::StateChanged (
SfxItemState eState,
const SfxPoolItem* pState)
{
- mrItemUpdateReceiver.NotifyItemUpdate(nSID, eState, pState, IsEnabled(eState));
+ mrItemUpdateReceiver.NotifyItemUpdate(nSID, eState, pState);
}
bool ControllerItem::IsEnabled (SfxItemState eState)
@@ -88,7 +88,7 @@ void ControllerItem::RequestUpdate()
{
std::unique_ptr<SfxPoolItem> pState;
const SfxItemState eState (GetBindings().QueryState(GetId(), pState));
- mrItemUpdateReceiver.NotifyItemUpdate(GetId(), eState, pState.get(), IsEnabled(eState));
+ mrItemUpdateReceiver.NotifyItemUpdate(GetId(), eState, pState.get());
}
ControllerItem::ItemUpdateReceiverInterface::~ItemUpdateReceiverInterface()