diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/xmlnumfe.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx index ea4e0cab0518..e3ca3a76430b 100644 --- a/xmloff/source/style/xmlnumfe.cxx +++ b/xmloff/source/style/xmlnumfe.cxx @@ -847,7 +847,7 @@ static OUString lcl_GetDefaultCalendar( SvNumberFormatter* pFormatter, LanguageT CalendarWrapper* pCalendar = pFormatter->GetCalendar(); if (pCalendar) { - lang::Locale aLocale( LanguageTag( nLang ).getLocale() ); + lang::Locale aLocale( LanguageTag::convertToLocale( nLang ) ); uno::Sequence<OUString> aCals = pCalendar->getAllCalendars( aLocale ); sal_Int32 nCnt = aCals.getLength(); @@ -1325,7 +1325,7 @@ void SvXMLNumFmtExport::ExportPart_Impl( const SvNumberformat& rFormat, sal_uInt // automatic currency symbol is implemented as part of // normal text -> search for the symbol bCurrencyWritten = WriteTextWithCurrency_Impl( *pElemStr, - LanguageTag( nLang ).getLocale() ); + LanguageTag::convertToLocale( nLang ) ); bAnyContent = sal_True; } else |