diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-18 11:45:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-21 10:56:13 +0200 |
commit | 855b30cf7065758ace0a55071d80789b7b93b552 (patch) | |
tree | e16d7cadab65a1ed0e149aa02d2bd5649e42f703 | |
parent | 06845c14a17146b0ec50dd3704b6af9ee13927bc (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>
45 files changed, 45 insertions, 91 deletions
diff --git a/chart2/source/controller/sidebar/ChartAxisPanel.cxx b/chart2/source/controller/sidebar/ChartAxisPanel.cxx index 384980e94645..419c287d3eeb 100644 --- a/chart2/source/controller/sidebar/ChartAxisPanel.cxx +++ b/chart2/source/controller/sidebar/ChartAxisPanel.cxx @@ -312,8 +312,7 @@ void ChartAxisPanel::HandleContextChange( void ChartAxisPanel::NotifyItemUpdate( sal_uInt16 /*nSID*/, SfxItemState /*eState*/, - const SfxPoolItem* /*pState*/, - const bool ) + const SfxPoolItem* /*pState*/ ) { } diff --git a/chart2/source/controller/sidebar/ChartAxisPanel.hxx b/chart2/source/controller/sidebar/ChartAxisPanel.hxx index f72b12152a7e..0c9bd74ab182 100644 --- a/chart2/source/controller/sidebar/ChartAxisPanel.hxx +++ b/chart2/source/controller/sidebar/ChartAxisPanel.hxx @@ -55,8 +55,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; // constructor/destructor ChartAxisPanel( diff --git a/chart2/source/controller/sidebar/ChartErrorBarPanel.cxx b/chart2/source/controller/sidebar/ChartErrorBarPanel.cxx index f6199cecef00..4ef3c19228dd 100644 --- a/chart2/source/controller/sidebar/ChartErrorBarPanel.cxx +++ b/chart2/source/controller/sidebar/ChartErrorBarPanel.cxx @@ -374,8 +374,7 @@ void ChartErrorBarPanel::HandleContextChange( void ChartErrorBarPanel::NotifyItemUpdate( sal_uInt16 /*nSID*/, SfxItemState /*eState*/, - const SfxPoolItem* /*pState*/, - const bool ) + const SfxPoolItem* /*pState*/ ) { } diff --git a/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx b/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx index f4dec42c5521..c6e20976f9ae 100644 --- a/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx +++ b/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx @@ -51,8 +51,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; // constructor/destructor ChartErrorBarPanel( diff --git a/chart2/source/controller/sidebar/ChartSeriesPanel.cxx b/chart2/source/controller/sidebar/ChartSeriesPanel.cxx index e0d28fa3e7bc..d2ce4e198fcc 100644 --- a/chart2/source/controller/sidebar/ChartSeriesPanel.cxx +++ b/chart2/source/controller/sidebar/ChartSeriesPanel.cxx @@ -406,8 +406,7 @@ void ChartSeriesPanel::HandleContextChange( void ChartSeriesPanel::NotifyItemUpdate( sal_uInt16 /*nSID*/, SfxItemState /*eState*/, - const SfxPoolItem* /*pState*/, - const bool ) + const SfxPoolItem* /*pState*/ ) { } diff --git a/chart2/source/controller/sidebar/ChartSeriesPanel.hxx b/chart2/source/controller/sidebar/ChartSeriesPanel.hxx index e33fec10cf3f..83dcbffd70ae 100644 --- a/chart2/source/controller/sidebar/ChartSeriesPanel.hxx +++ b/chart2/source/controller/sidebar/ChartSeriesPanel.hxx @@ -61,8 +61,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; // constructor/destructor ChartSeriesPanel( diff --git a/compilerplugins/clang/virtualdead.unusedparams.results b/compilerplugins/clang/virtualdead.unusedparams.results index 2a25ea9b9981..be64ddb4cdcd 100644 --- a/compilerplugins/clang/virtualdead.unusedparams.results +++ b/compilerplugins/clang/virtualdead.unusedparams.results @@ -139,9 +139,6 @@ include/sfx2/objsh.hxx:637 include/sfx2/sfxstatuslistener.hxx:49 void SfxStatusListener::StateChanged(unsigned short,enum SfxItemState,const class SfxPoolItem *,) 011 -include/sfx2/sidebar/ControllerItem.hxx:44 - void sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface::NotifyItemUpdate(const unsigned short,const enum SfxItemState,const class SfxPoolItem *,const _Bool,) - 1110 include/sfx2/stbitem.hxx:100 _Bool SfxStatusBarControl::MouseButtonUp(const class MouseEvent &,) 0 diff --git a/include/sfx2/sidebar/ControllerItem.hxx b/include/sfx2/sidebar/ControllerItem.hxx index 619956b96695..521be277e45f 100644 --- a/include/sfx2/sidebar/ControllerItem.hxx +++ b/include/sfx2/sidebar/ControllerItem.hxx @@ -44,8 +44,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) = 0; + const SfxPoolItem* pState) = 0; virtual ~ItemUpdateReceiverInterface(); }; diff --git a/include/svx/sidebar/AreaPropertyPanelBase.hxx b/include/svx/sidebar/AreaPropertyPanelBase.hxx index 0f568600563d..abe5a603514c 100644 --- a/include/svx/sidebar/AreaPropertyPanelBase.hxx +++ b/include/svx/sidebar/AreaPropertyPanelBase.hxx @@ -65,8 +65,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; const static sal_Int32 DEFAULT_CENTERX; const static sal_Int32 DEFAULT_CENTERY; diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx index ea4dffc59a8a..e92edd6943ca 100644 --- a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx +++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx @@ -257,8 +257,7 @@ void AlignmentPropertyPanel::HandleContextChange( void AlignmentPropertyPanel::NotifyItemUpdate( sal_uInt16 nSID, SfxItemState eState, - const SfxPoolItem* pState, - const bool) + const SfxPoolItem* pState) { switch(nSID) { diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx index e870d1d495c4..71c8d7efafd4 100644 --- a/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx +++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx @@ -49,8 +49,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; SfxBindings* GetBindings() { return mpBindings;} diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx index 75205d0bd006..d46275768db6 100644 --- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx +++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx @@ -199,8 +199,7 @@ void CellAppearancePropertyPanel::HandleContextChange(const vcl::EnumContext& rC void CellAppearancePropertyPanel::NotifyItemUpdate( sal_uInt16 nSID, SfxItemState eState, - const SfxPoolItem* pState, - const bool) + const SfxPoolItem* pState) { switch(nSID) { diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx index ea2f3c334583..006e0b03700c 100644 --- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx +++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx @@ -53,8 +53,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; SfxBindings* GetBindings() { return mpBindings;} diff --git a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx index f97bba82783c..7d8a8401ac84 100644 --- a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx +++ b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx @@ -189,8 +189,7 @@ void NumberFormatPropertyPanel::HandleContextChange( void NumberFormatPropertyPanel::NotifyItemUpdate( sal_uInt16 nSID, SfxItemState eState, - const SfxPoolItem* pState, - const bool) + const SfxPoolItem* pState) { switch(nSID) { diff --git a/sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx b/sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx index 80ba080e8435..0406f3384381 100644 --- a/sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx +++ b/sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx @@ -53,8 +53,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; SfxBindings* GetBindings() { return mpBindings;} diff --git a/sd/source/ui/sidebar/SlideBackground.cxx b/sd/source/ui/sidebar/SlideBackground.cxx index 550fc741bf3c..f6f520d0bf38 100644 --- a/sd/source/ui/sidebar/SlideBackground.cxx +++ b/sd/source/ui/sidebar/SlideBackground.cxx @@ -754,8 +754,7 @@ void SlideBackground::DataChanged (const DataChangedEvent& /*rEvent*/) void SlideBackground::NotifyItemUpdate( const sal_uInt16 nSID, const SfxItemState eState, - const SfxPoolItem* pState, - const bool) + const SfxPoolItem* pState) { switch(nSID) { diff --git a/sd/source/ui/sidebar/SlideBackground.hxx b/sd/source/ui/sidebar/SlideBackground.hxx index 8e6e65eef727..a78a1a9b5723 100644 --- a/sd/source/ui/sidebar/SlideBackground.hxx +++ b/sd/source/ui/sidebar/SlideBackground.hxx @@ -67,8 +67,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSID, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; virtual void HandleContextChange( const vcl::EnumContext& rContext) override; 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() diff --git a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx index 6298b6f9d7f0..a4388ce61232 100644 --- a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx +++ b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx @@ -999,8 +999,7 @@ void AreaPropertyPanelBase::updateFillBitmap(bool bDisabled, bool bDefaultOrSet, void AreaPropertyPanelBase::NotifyItemUpdate( sal_uInt16 nSID, SfxItemState eState, - const SfxPoolItem* pState, - const bool /*bIsEnabled*/) + const SfxPoolItem* pState) { const bool bDisabled(SfxItemState::DISABLED == eState); const bool bDefaultOrSet(SfxItemState::DEFAULT <= eState); diff --git a/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx b/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx index f7069bbde090..7e8bc1070ef1 100644 --- a/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx +++ b/svx/source/sidebar/graphic/GraphicPropertyPanel.cxx @@ -229,8 +229,7 @@ void GraphicPropertyPanel::DataChanged( void GraphicPropertyPanel::NotifyItemUpdate( sal_uInt16 nSID, SfxItemState eState, - const SfxPoolItem* pState, - const bool) + const SfxPoolItem* pState) { switch( nSID ) { diff --git a/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx b/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx index 2031f389655f..459d203deb62 100644 --- a/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx +++ b/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx @@ -52,8 +52,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; SfxBindings* GetBindings() { return mpBindings;} diff --git a/svx/source/sidebar/line/LinePropertyPanel.cxx b/svx/source/sidebar/line/LinePropertyPanel.cxx index 2c557f7bfcb4..d8dd5fb17498 100644 --- a/svx/source/sidebar/line/LinePropertyPanel.cxx +++ b/svx/source/sidebar/line/LinePropertyPanel.cxx @@ -106,8 +106,7 @@ VclPtr<vcl::Window> LinePropertyPanel::Create ( void LinePropertyPanel::NotifyItemUpdate( sal_uInt16 nSID, SfxItemState eState, - const SfxPoolItem* pState, - const bool /*bIsEnabled*/) + const SfxPoolItem* pState) { const bool bDisabled(SfxItemState::DISABLED == eState); const bool bSetOrDefault = eState >= SfxItemState::DEFAULT; diff --git a/svx/source/sidebar/line/LinePropertyPanel.hxx b/svx/source/sidebar/line/LinePropertyPanel.hxx index b223f644fdbf..be8406a3c8c9 100644 --- a/svx/source/sidebar/line/LinePropertyPanel.hxx +++ b/svx/source/sidebar/line/LinePropertyPanel.hxx @@ -69,8 +69,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; SfxBindings* GetBindings() { return mpBindings;} diff --git a/svx/source/sidebar/media/MediaPlaybackPanel.cxx b/svx/source/sidebar/media/MediaPlaybackPanel.cxx index 1adc5fdb0b17..f6a6e54950a1 100644 --- a/svx/source/sidebar/media/MediaPlaybackPanel.cxx +++ b/svx/source/sidebar/media/MediaPlaybackPanel.cxx @@ -97,8 +97,7 @@ void MediaPlaybackPanel::dispose() void MediaPlaybackPanel::NotifyItemUpdate( const sal_uInt16 nSID, const SfxItemState eState, - const SfxPoolItem* pState, - const bool /*bIsEnabled*/) + const SfxPoolItem* pState) { if( nSID == SID_AVMEDIA_TOOLBOX ) { diff --git a/svx/source/sidebar/media/MediaPlaybackPanel.hxx b/svx/source/sidebar/media/MediaPlaybackPanel.hxx index 69022e1c673c..9f050e1247ad 100644 --- a/svx/source/sidebar/media/MediaPlaybackPanel.hxx +++ b/svx/source/sidebar/media/MediaPlaybackPanel.hxx @@ -69,8 +69,7 @@ private: void Update(); virtual void NotifyItemUpdate( const sal_uInt16 nSID, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; DECL_LINK(PlayToolBoxSelectHdl, ToolBox*, void); DECL_LINK(VolumeSlideHdl, Slider*, void); DECL_LINK(SeekHdl, Slider*, void); diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx index 015bb11768d8..aa520d799ba6 100644 --- a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx +++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx @@ -194,8 +194,7 @@ IMPL_LINK_NOARG( ParaPropertyPanel, ULSpaceHdl_Impl, Edit&, void) void ParaPropertyPanel::NotifyItemUpdate( sal_uInt16 nSID, SfxItemState eState, - const SfxPoolItem* pState, - const bool) + const SfxPoolItem* pState) { switch (nSID) { diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx index d7670624c5ae..0c1c5bcc6099 100644 --- a/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx +++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx @@ -61,8 +61,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; static FieldUnit GetCurrentUnit( SfxItemState eState, const SfxPoolItem* pState ); diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index e2dff6d5bf11..b7649bd7e0ea 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx @@ -501,8 +501,7 @@ IMPL_LINK( PosSizePropertyPanel, FlipHdl, ToolBox*, pBox, void ) void PosSizePropertyPanel::NotifyItemUpdate( sal_uInt16 nSID, SfxItemState eState, - const SfxPoolItem* pState, - const bool) + const SfxPoolItem* pState) { mpFtAngle->Enable(); mpMtrAngle->Enable(); diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.hxx b/svx/source/sidebar/possize/PosSizePropertyPanel.hxx index 0e0d35b893f3..2ac505428c36 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.hxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.hxx @@ -71,8 +71,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; SfxBindings* GetBindings() { return mpBindings;} diff --git a/svx/source/sidebar/shadow/ShadowPropertyPanel.cxx b/svx/source/sidebar/shadow/ShadowPropertyPanel.cxx index 03f734d708fd..8c93ee2708d0 100644 --- a/svx/source/sidebar/shadow/ShadowPropertyPanel.cxx +++ b/svx/source/sidebar/shadow/ShadowPropertyPanel.cxx @@ -265,8 +265,7 @@ void ShadowPropertyPanel::InsertAngleValues() void ShadowPropertyPanel::NotifyItemUpdate( sal_uInt16 nSID, SfxItemState eState, - const SfxPoolItem* pState, - const bool /*bIsEnabled*/) + const SfxPoolItem* pState) { switch(nSID) { diff --git a/svx/source/sidebar/shadow/ShadowPropertyPanel.hxx b/svx/source/sidebar/shadow/ShadowPropertyPanel.hxx index 3111d5e3aa0e..7346b808eddf 100644 --- a/svx/source/sidebar/shadow/ShadowPropertyPanel.hxx +++ b/svx/source/sidebar/shadow/ShadowPropertyPanel.hxx @@ -46,8 +46,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; SfxBindings* GetBindings() { return mpBindings;} diff --git a/sw/source/uibase/sidebar/PageFooterPanel.cxx b/sw/source/uibase/sidebar/PageFooterPanel.cxx index d927967faad9..08be58fa95c4 100644 --- a/sw/source/uibase/sidebar/PageFooterPanel.cxx +++ b/sw/source/uibase/sidebar/PageFooterPanel.cxx @@ -173,8 +173,7 @@ void PageFooterPanel::UpdateLayoutControl() void PageFooterPanel::NotifyItemUpdate( const sal_uInt16 nSid, const SfxItemState eState, - const SfxPoolItem* pState, - const bool) + const SfxPoolItem* pState) { if (IsDisposed()) return; diff --git a/sw/source/uibase/sidebar/PageFooterPanel.hxx b/sw/source/uibase/sidebar/PageFooterPanel.hxx index a63480436f95..3b608cbf0b5d 100644 --- a/sw/source/uibase/sidebar/PageFooterPanel.hxx +++ b/sw/source/uibase/sidebar/PageFooterPanel.hxx @@ -52,8 +52,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; SfxBindings* GetBindings() const { return mpBindings; } PageFooterPanel( diff --git a/sw/source/uibase/sidebar/PageFormatPanel.cxx b/sw/source/uibase/sidebar/PageFormatPanel.cxx index 701f801c8f5e..2f7e3cbf976c 100644 --- a/sw/source/uibase/sidebar/PageFormatPanel.cxx +++ b/sw/source/uibase/sidebar/PageFormatPanel.cxx @@ -156,8 +156,7 @@ void PageFormatPanel::Initialize() void PageFormatPanel::NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool) + const SfxPoolItem* pState) { switch(nSId) { diff --git a/sw/source/uibase/sidebar/PageFormatPanel.hxx b/sw/source/uibase/sidebar/PageFormatPanel.hxx index 351b5162edb2..d06b4e76a845 100644 --- a/sw/source/uibase/sidebar/PageFormatPanel.hxx +++ b/sw/source/uibase/sidebar/PageFormatPanel.hxx @@ -52,8 +52,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; PageFormatPanel( vcl::Window* pParent, diff --git a/sw/source/uibase/sidebar/PageHeaderPanel.cxx b/sw/source/uibase/sidebar/PageHeaderPanel.cxx index c2fa36888d8f..5641eba0c3ae 100644 --- a/sw/source/uibase/sidebar/PageHeaderPanel.cxx +++ b/sw/source/uibase/sidebar/PageHeaderPanel.cxx @@ -176,8 +176,7 @@ void PageHeaderPanel::UpdateLayoutControl() void PageHeaderPanel::NotifyItemUpdate( const sal_uInt16 nSid, const SfxItemState eState, - const SfxPoolItem* pState, - const bool) + const SfxPoolItem* pState) { if (IsDisposed()) return; diff --git a/sw/source/uibase/sidebar/PageHeaderPanel.hxx b/sw/source/uibase/sidebar/PageHeaderPanel.hxx index 7426ebbd0646..09fa082639f2 100644 --- a/sw/source/uibase/sidebar/PageHeaderPanel.hxx +++ b/sw/source/uibase/sidebar/PageHeaderPanel.hxx @@ -52,8 +52,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; SfxBindings* GetBindings() const { return mpBindings; } PageHeaderPanel( diff --git a/sw/source/uibase/sidebar/PageStylesPanel.cxx b/sw/source/uibase/sidebar/PageStylesPanel.cxx index c1c0eaabc96a..025a38f3e6bc 100644 --- a/sw/source/uibase/sidebar/PageStylesPanel.cxx +++ b/sw/source/uibase/sidebar/PageStylesPanel.cxx @@ -325,8 +325,7 @@ OUString const & PageStylesPanel::GetPatternSetOrDefault() void PageStylesPanel::NotifyItemUpdate( const sal_uInt16 nSid, const SfxItemState eState, - const SfxPoolItem* pState, - const bool) + const SfxPoolItem* pState) { if(IsDisposed()) return; diff --git a/sw/source/uibase/sidebar/PageStylesPanel.hxx b/sw/source/uibase/sidebar/PageStylesPanel.hxx index 9b717f7e7cf8..4dcadf0d9d17 100644 --- a/sw/source/uibase/sidebar/PageStylesPanel.hxx +++ b/sw/source/uibase/sidebar/PageStylesPanel.hxx @@ -56,8 +56,7 @@ public: virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; SfxBindings* GetBindings() const { return mpBindings; } PageStylesPanel( diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.cxx b/sw/source/uibase/sidebar/StylePresetsPanel.cxx index 915d740a6a68..0ab90e10d08b 100644 --- a/sw/source/uibase/sidebar/StylePresetsPanel.cxx +++ b/sw/source/uibase/sidebar/StylePresetsPanel.cxx @@ -218,8 +218,7 @@ IMPL_LINK_NOARG(StylePresetsPanel, DoubleClickHdl, ValueSet*, void) void StylePresetsPanel::NotifyItemUpdate(const sal_uInt16 /*nSId*/, const SfxItemState /*eState*/, - const SfxPoolItem* /*pState*/, - const bool /*bIsEnabled*/) + const SfxPoolItem* /*pState*/) { } diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.hxx b/sw/source/uibase/sidebar/StylePresetsPanel.hxx index 215a9de343da..b392f9cb077e 100644 --- a/sw/source/uibase/sidebar/StylePresetsPanel.hxx +++ b/sw/source/uibase/sidebar/StylePresetsPanel.hxx @@ -32,8 +32,7 @@ public: virtual void NotifyItemUpdate(const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; private: struct TemplateEntry diff --git a/sw/source/uibase/sidebar/ThemePanel.cxx b/sw/source/uibase/sidebar/ThemePanel.cxx index e70bdd93afb2..499863889217 100644 --- a/sw/source/uibase/sidebar/ThemePanel.cxx +++ b/sw/source/uibase/sidebar/ThemePanel.cxx @@ -502,8 +502,7 @@ void ThemePanel::DoubleClickHdl() void ThemePanel::NotifyItemUpdate(const sal_uInt16 /*nSId*/, const SfxItemState /*eState*/, - const SfxPoolItem* /*pState*/, - const bool /*bIsEnabled*/) + const SfxPoolItem* /*pState*/) { } diff --git a/sw/source/uibase/sidebar/ThemePanel.hxx b/sw/source/uibase/sidebar/ThemePanel.hxx index ac78c6c47532..898caae9fc4a 100644 --- a/sw/source/uibase/sidebar/ThemePanel.hxx +++ b/sw/source/uibase/sidebar/ThemePanel.hxx @@ -36,8 +36,7 @@ public: virtual void NotifyItemUpdate(const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; private: ThemePanel(vcl::Window* pParent, diff --git a/sw/source/uibase/sidebar/WrapPropertyPanel.cxx b/sw/source/uibase/sidebar/WrapPropertyPanel.cxx index c51d4f7844a1..e596d8d8dc72 100644 --- a/sw/source/uibase/sidebar/WrapPropertyPanel.cxx +++ b/sw/source/uibase/sidebar/WrapPropertyPanel.cxx @@ -280,8 +280,7 @@ void WrapPropertyPanel::UpdateEditContour() void WrapPropertyPanel::NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool) + const SfxPoolItem* pState) { if ( eState == SfxItemState::DEFAULT && dynamic_cast< const SfxBoolItem *>( pState ) != nullptr ) diff --git a/sw/source/uibase/sidebar/WrapPropertyPanel.hxx b/sw/source/uibase/sidebar/WrapPropertyPanel.hxx index 66bca6ceed92..d50c9fc560db 100644 --- a/sw/source/uibase/sidebar/WrapPropertyPanel.hxx +++ b/sw/source/uibase/sidebar/WrapPropertyPanel.hxx @@ -43,8 +43,7 @@ namespace sw { namespace sidebar { virtual void NotifyItemUpdate( const sal_uInt16 nSId, const SfxItemState eState, - const SfxPoolItem* pState, - const bool bIsEnabled) override; + const SfxPoolItem* pState) override; virtual ~WrapPropertyPanel() override; virtual void dispose() override; |