diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-05-16 11:19:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-05-16 12:04:10 +0100 |
commit | 8512e5c2b3617a2c8d77381788c3864db594ce46 (patch) | |
tree | c7fde308b180a2bce971fc80958d8bd28aa123d0 /svl/inc | |
parent | c7f60050da130eaeab11a53142a65b61c92c34a1 (diff) |
reduce static_initialization_and_destruction chain
Change-Id: I962aeac0c7feeabb7963016d5afcfeca5a48ccfe
Diffstat (limited to 'svl/inc')
-rw-r--r-- | svl/inc/svl/zforlist.hxx | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx index 96a8955936e5..701216468f0d 100644 --- a/svl/inc/svl/zforlist.hxx +++ b/svl/inc/svl/zforlist.hxx @@ -339,9 +339,6 @@ public: */ static const sal_uInt16 INPUTSTRING_PRECISION; - /** THE set of installed locales. */ - static NfInstalledLocales theInstalledLocales; - /// Preferred ctor with service manager and language/country enum SvNumberFormatter( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xSMgr, @@ -809,15 +806,7 @@ public: String GetStandardName( LanguageType eLnge ); /** Check if a specific locale has supported locale data. */ - static bool IsLocaleInstalled( LanguageType eLang ) - { - // The set is initialized as a side effect of the currency table - // created, make sure that exists, which usually is the case unless a - // SvNumberFormatter was never instanciated. - GetTheCurrencyTable(); - return theInstalledLocales.find( eLang) != theInstalledLocales.end(); - } - + static bool IsLocaleInstalled( LanguageType eLang ); private: ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceManager; |