summaryrefslogtreecommitdiff
path: root/svl/source/numbers
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-10-16 00:05:16 +0200
committerMathias Bauer <mba@openoffice.org>2009-10-16 00:05:16 +0200
commitad482351a6c12cddb06575f6a9a00ec1b72d92fb (patch)
treee97f35e966aef21423e70f325a66943664ed62a9 /svl/source/numbers
parent9a4d0581c72653e60562d1b8e2121772d21f8a9e (diff)
#i103496#: split svtools; improve ConfitItems
Diffstat (limited to 'svl/source/numbers')
-rw-r--r--svl/source/numbers/numuno.cxx1
-rw-r--r--svl/source/numbers/zforlist.cxx10
2 files changed, 4 insertions, 7 deletions
diff --git a/svl/source/numbers/numuno.cxx b/svl/source/numbers/numuno.cxx
index e909fb2fd4e8..3cc90998e2dc 100644
--- a/svl/source/numbers/numuno.cxx
+++ b/svl/source/numbers/numuno.cxx
@@ -35,7 +35,6 @@
#define _ZFORLIST_DECLARE_TABLE
-#include <vcl/svapp.hxx>
#include <tools/color.hxx>
#include <tools/debug.hxx>
#include <vos/mutex.hxx>
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index eb867f67fb57..f03ef3f31140 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -59,8 +59,6 @@
#include "numhead.hxx"
#include <unotools/syslocaleoptions.hxx>
-#include "listener.hxx"
-#include <svl/smplhint.hxx>
#include <unotools/digitgroupingiterator.hxx>
#include <rtl/logfile.hxx>
#include <rtl/instance.hxx>
@@ -120,7 +118,7 @@ public:
sal_uInt32 Count()
{ return aFormatters.Count(); }
- virtual void ConfigurationChanged( utl::ConfigurationBroadcaster* );
+ virtual void ConfigurationChanged( utl::ConfigurationBroadcaster*, sal_uInt32 );
};
@@ -137,9 +135,9 @@ SvNumberFormatterRegistry_Impl::~SvNumberFormatterRegistry_Impl()
}
-void SvNumberFormatterRegistry_Impl::ConfigurationChanged( utl::ConfigurationBroadcaster* )
+void SvNumberFormatterRegistry_Impl::ConfigurationChanged( utl::ConfigurationBroadcaster*, sal_uInt32 nHint )
{
- //if ( pHint->GetId() & SYSLOCALEOPTIONS_HINT_LOCALE )
+ if ( nHint & SYSLOCALEOPTIONS_HINT_LOCALE )
{
::osl::MutexGuard aGuard( SvNumberFormatter::GetMutex() );
for ( SvNumberFormatter* p = (SvNumberFormatter*)aFormatters.First();
@@ -149,7 +147,7 @@ void SvNumberFormatterRegistry_Impl::ConfigurationChanged( utl::ConfigurationBro
}
eSysLanguage = MsLangId::getRealLanguage( LANGUAGE_SYSTEM );
}
- //if ( pHint->GetId() & SYSLOCALEOPTIONS_HINT_CURRENCY )
+ if ( nHint & SYSLOCALEOPTIONS_HINT_CURRENCY )
{
::osl::MutexGuard aGuard( SvNumberFormatter::GetMutex() );
for ( SvNumberFormatter* p = (SvNumberFormatter*)aFormatters.First();