diff options
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index 1f443c8da103..208470608ac5 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -135,12 +135,11 @@ SvNumberFormatterRegistry_Impl::~SvNumberFormatterRegistry_Impl() SvNumberFormatter* SvNumberFormatterRegistry_Impl::Remove( SvNumberFormatter* pThis ) { - for( - SvNumberFormatterList_impl::iterator it = aFormatters.begin(); - it < aFormatters.end(); - ++it - ) { - if ( *it == pThis ) { + for (SvNumberFormatterList_impl::iterator it = aFormatters.begin(); + it < aFormatters.end(); ++it) + { + if ( *it == pThis ) + { aFormatters.erase( it ); break; } @@ -150,8 +149,8 @@ SvNumberFormatter* SvNumberFormatterRegistry_Impl::Remove( SvNumberFormatter* pT void SvNumberFormatterRegistry_Impl::ConfigurationChanged( utl::ConfigurationBroadcaster*, - sal_uInt32 nHint -) { + sal_uInt32 nHint) +{ if ( nHint & SYSLOCALEOPTIONS_HINT_LOCALE ) { ::osl::MutexGuard aGuard( SvNumberFormatter::GetMutex() ); |