summaryrefslogtreecommitdiff
path: root/svl/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-05-16 11:19:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-05-16 12:04:10 +0100
commit8512e5c2b3617a2c8d77381788c3864db594ce46 (patch)
treec7fde308b180a2bce971fc80958d8bd28aa123d0 /svl/inc
parentc7f60050da130eaeab11a53142a65b61c92c34a1 (diff)
reduce static_initialization_and_destruction chain
Change-Id: I962aeac0c7feeabb7963016d5afcfeca5a48ccfe
Diffstat (limited to 'svl/inc')
-rw-r--r--svl/inc/svl/zforlist.hxx13
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;