diff options
Diffstat (limited to 'sc/source/core/tool/zforauto.cxx')
-rw-r--r-- | sc/source/core/tool/zforauto.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/zforauto.cxx b/sc/source/core/tool/zforauto.cxx index d3ddf047857f..94a22a6d92be 100644 --- a/sc/source/core/tool/zforauto.cxx +++ b/sc/source/core/tool/zforauto.cxx @@ -66,7 +66,7 @@ void ScNumFormatAbbrev::Load( SvStream& rStream, CharSet eByteStrSet ) eLnge = (LanguageType) nLang; eSysLnge = (LanguageType) nSysLang; if ( eSysLnge == LANGUAGE_SYSTEM ) // old versions did write it - eSysLnge = Application::GetSettings().GetLanguage(); + eSysLnge = Application::GetSettings().GetLanguageTag().getLanguageType(); } void ScNumFormatAbbrev::Save( SvStream& rStream, CharSet eByteStrSet ) const @@ -81,7 +81,7 @@ void ScNumFormatAbbrev::PutFormatIndex(sal_uLong nFormat, const SvNumberformat* pFormat = rFormatter.GetEntry(nFormat); if (pFormat) { - eSysLnge = Application::GetSettings().GetLanguage(); + eSysLnge = Application::GetSettings().GetLanguageTag().getLanguageType(); eLnge = pFormat->GetLanguage(); sFormatstring = ((SvNumberformat*)pFormat)->GetFormatstring(); } |