diff options
author | Armin Le Grand (Allotropia) <armin.le.grand@me.com> | 2021-06-17 10:17:25 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@me.com> | 2021-06-18 11:10:56 +0200 |
commit | 04cd6749177f886f382e8bcd026f95112ee22473 (patch) | |
tree | b74693c1a738add2df00cedc85397720598f3021 /svx/source/tbxctrls/tbcontrl.cxx | |
parent | 6317f8cc83ec92b8700785ab67c4c66ed1aa8fb2 (diff) |
tdf#130428 remove unnecessary usage of SfxItemState::UNKNOWN
Rename ::StateChanged methods using SfxItemState to allow
better analysis of SfxItemState/SfxPoolItem usage(s),
discussion see tdf#130428 comment 30
Change-Id: I736be0160ad7a9b7882c1c8a4cc05d9396ee3305
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117366
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'svx/source/tbxctrls/tbcontrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 1b94df39887d..4521be0db733 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -821,7 +821,7 @@ class SfxStyleControllerItem_Impl : public SfxStatusListener SvxStyleToolBoxControl& rTbxCtl ); protected: - virtual void StateChanged( SfxItemState eState, const SfxPoolItem* pState ) override; + virtual void StateChangedAtStatusListener( SfxItemState eState, const SfxPoolItem* pState ) override; private: SvxStyleToolBoxControl& rControl; @@ -2494,7 +2494,7 @@ SfxStyleControllerItem_Impl::SfxStyleControllerItem_Impl( { } -void SfxStyleControllerItem_Impl::StateChanged( +void SfxStyleControllerItem_Impl::StateChangedAtStatusListener( SfxItemState eState, const SfxPoolItem* pState ) { switch ( GetId() ) |