diff options
author | Eike Rathke <erack@redhat.com> | 2021-10-25 11:48:20 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2021-10-25 14:46:35 +0200 |
commit | 9c364847d6eae7f486f60823090cbc39fc0b1016 (patch) | |
tree | 6aaeb47b78687394a7a104ba557fdc086db4d15d /svl | |
parent | 21bbccee8b93d02abf7b3fd310e42485a1024e31 (diff) |
Restore behaviour SvNumberFormatterServiceObj keep LANGUAGE_SYSTEM unresolved
Semantics were temporarily changed with
commit bba6a4ed92a0feb288a9dedd648d623bee02a3ce
CommitDate: Mon Oct 25 11:18:31 2021 +0200
Get rid of fuzziness in MsLangId::Conversion::convertIsoNamesToLanguage()
Change-Id: I8bbf77998bea81c5691ba518c7ae25093b0df421
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124141
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/numfmuno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/numfmuno.cxx b/svl/source/numbers/numfmuno.cxx index 416de9297179..84812f9c5eef 100644 --- a/svl/source/numbers/numfmuno.cxx +++ b/svl/source/numbers/numfmuno.cxx @@ -97,7 +97,7 @@ static const SfxItemPropertyMapEntry* lcl_GetNumberSettingsPropertyMap() static LanguageType lcl_GetLanguage( const lang::Locale& rLocale ) { - LanguageType eRet = LanguageTag( rLocale).makeFallback().getLanguageType(false); + LanguageType eRet = LanguageTag::convertToLanguageTypeWithFallback( rLocale, false); if ( eRet == LANGUAGE_NONE ) eRet = LANGUAGE_SYSTEM; //! or throw an exception? |