summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlnumfi.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/xmlnumfi.cxx')
-rw-r--r--xmloff/source/style/xmlnumfi.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx
index de3d238d2013..b9a105d6a5dc 100644
--- a/xmloff/source/style/xmlnumfi.cxx
+++ b/xmloff/source/style/xmlnumfi.cxx
@@ -602,9 +602,9 @@ const LocaleDataWrapper& SvXMLNumImpData::GetLocaleData( LanguageType nLang )
pLocaleData = new LocaleDataWrapper(
comphelper::getComponentContext(
pFormatter ? pFormatter->GetServiceManager() : mxServiceFactory),
- LanguageTag( nLang ).getLocale() );
+ LanguageTag( nLang ) );
else
- pLocaleData->setLocale( LanguageTag( nLang ).getLocale() );
+ pLocaleData->setLanguageTag( LanguageTag( nLang ) );
return *pLocaleData;
}