Kaydet (Commit) 332cc04c authored tarafından Eike Rathke's avatar Eike Rathke

straighten confusing brackets

üst 850497d7
...@@ -135,12 +135,11 @@ SvNumberFormatterRegistry_Impl::~SvNumberFormatterRegistry_Impl() ...@@ -135,12 +135,11 @@ SvNumberFormatterRegistry_Impl::~SvNumberFormatterRegistry_Impl()
SvNumberFormatter* SvNumberFormatterRegistry_Impl::Remove( SvNumberFormatter* pThis ) SvNumberFormatter* SvNumberFormatterRegistry_Impl::Remove( SvNumberFormatter* pThis )
{ {
for( for (SvNumberFormatterList_impl::iterator it = aFormatters.begin();
SvNumberFormatterList_impl::iterator it = aFormatters.begin(); it < aFormatters.end(); ++it)
it < aFormatters.end(); {
++it if ( *it == pThis )
) { {
if ( *it == pThis ) {
aFormatters.erase( it ); aFormatters.erase( it );
break; break;
} }
...@@ -150,8 +149,8 @@ SvNumberFormatter* SvNumberFormatterRegistry_Impl::Remove( SvNumberFormatter* pT ...@@ -150,8 +149,8 @@ SvNumberFormatter* SvNumberFormatterRegistry_Impl::Remove( SvNumberFormatter* pT
void SvNumberFormatterRegistry_Impl::ConfigurationChanged( void SvNumberFormatterRegistry_Impl::ConfigurationChanged(
utl::ConfigurationBroadcaster*, utl::ConfigurationBroadcaster*,
sal_uInt32 nHint sal_uInt32 nHint)
) { {
if ( nHint & SYSLOCALEOPTIONS_HINT_LOCALE ) if ( nHint & SYSLOCALEOPTIONS_HINT_LOCALE )
{ {
::osl::MutexGuard aGuard( SvNumberFormatter::GetMutex() ); ::osl::MutexGuard aGuard( SvNumberFormatter::GetMutex() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment