diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-24 11:26:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-24 11:27:51 +0200 |
commit | 04a84913ead2f82510d91eea2bb8526274feeeae (patch) | |
tree | a123ff892b74a778c6ae61de2e5caa2ee916416f /svl/source/config | |
parent | a250292c5eb7e4cdb2aa83bc08ae6c86c3ca65a1 (diff) |
use o3tl::typed_flags in ConfigurationListener::ConfigurationChanged
Change-Id: I0ad7c02953aa53168dc242f1f374ab871728c84e
Diffstat (limited to 'svl/source/config')
-rw-r--r-- | svl/source/config/cjkoptions.cxx | 4 | ||||
-rw-r--r-- | svl/source/config/ctloptions.cxx | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/svl/source/config/cjkoptions.cxx b/svl/source/config/cjkoptions.cxx index 3556cb7fb0dc..691948830636 100644 --- a/svl/source/config/cjkoptions.cxx +++ b/svl/source/config/cjkoptions.cxx @@ -144,7 +144,7 @@ void SvtCJKOptions_Impl::SetAll(bool bSet) SetModified(); Commit(); - NotifyListeners(0); + NotifyListeners(ConfigurationHints::NONE); } } @@ -231,7 +231,7 @@ void SvtCJKOptions_Impl::Load() void SvtCJKOptions_Impl::Notify( const Sequence< OUString >& ) { Load(); - NotifyListeners(0); + NotifyListeners(ConfigurationHints::NONE); } void SvtCJKOptions_Impl::ImplCommit() diff --git a/svl/source/config/ctloptions.cxx b/svl/source/config/ctloptions.cxx index 311a56a84fda..cc4604004f3b 100644 --- a/svl/source/config/ctloptions.cxx +++ b/svl/source/config/ctloptions.cxx @@ -134,7 +134,7 @@ SvtCTLOptions_Impl::~SvtCTLOptions_Impl() void SvtCTLOptions_Impl::Notify( const Sequence< OUString >& ) { Load(); - NotifyListeners(SFX_HINT_CTL_SETTINGS_CHANGED); + NotifyListeners(ConfigurationHints::CtlSettingsChanged); } void SvtCTLOptions_Impl::ImplCommit() @@ -224,7 +224,7 @@ void SvtCTLOptions_Impl::ImplCommit() aValues.realloc(nRealCount); PutProperties( aNames, aValues ); //broadcast changes - NotifyListeners(SFX_HINT_CTL_SETTINGS_CHANGED); + NotifyListeners(ConfigurationHints::CtlSettingsChanged); } void SvtCTLOptions_Impl::Load() @@ -324,7 +324,7 @@ void SvtCTLOptions_Impl::SetCTLFontEnabled( bool _bEnabled ) { m_bCTLFontEnabled = _bEnabled; SetModified(); - NotifyListeners(0); + NotifyListeners(ConfigurationHints::NONE); } } void SvtCTLOptions_Impl::SetCTLSequenceChecking( bool _bEnabled ) @@ -333,7 +333,7 @@ void SvtCTLOptions_Impl::SetCTLSequenceChecking( bool _bEnabled ) { SetModified(); m_bCTLSequenceChecking = _bEnabled; - NotifyListeners(0); + NotifyListeners(ConfigurationHints::NONE); } } void SvtCTLOptions_Impl::SetCTLSequenceCheckingRestricted( bool _bEnabled ) @@ -342,7 +342,7 @@ void SvtCTLOptions_Impl::SetCTLSequenceCheckingRestricted( bool _bEnabled ) { SetModified(); m_bCTLRestricted = _bEnabled; - NotifyListeners(0); + NotifyListeners(ConfigurationHints::NONE); } } void SvtCTLOptions_Impl::SetCTLSequenceCheckingTypeAndReplace( bool _bEnabled ) @@ -351,7 +351,7 @@ void SvtCTLOptions_Impl::SetCTLSequenceCheckingTypeAndReplace( bool _bEnabled ) { SetModified(); m_bCTLTypeAndReplace = _bEnabled; - NotifyListeners(0); + NotifyListeners(ConfigurationHints::NONE); } } void SvtCTLOptions_Impl::SetCTLCursorMovement( SvtCTLOptions::CursorMovement _eMovement ) @@ -360,7 +360,7 @@ void SvtCTLOptions_Impl::SetCTLCursorMovement( SvtCTLOptions::CursorMovement _eM { SetModified(); m_eCTLCursorMovement = _eMovement; - NotifyListeners(0); + NotifyListeners(ConfigurationHints::NONE); } } void SvtCTLOptions_Impl::SetCTLTextNumerals( SvtCTLOptions::TextNumerals _eNumerals ) @@ -369,7 +369,7 @@ void SvtCTLOptions_Impl::SetCTLTextNumerals( SvtCTLOptions::TextNumerals _eNumer { SetModified(); m_eCTLTextNumerals = _eNumerals; - NotifyListeners(0); + NotifyListeners(ConfigurationHints::NONE); } } |