diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-11-20 17:09:39 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-11-20 17:12:04 +0100 |
commit | 9de9c430ca36751b63744ccb2f31e5b075e599b0 (patch) | |
tree | 717268d7c14604ab45729e43b07a2f6a3e8b85a7 /i18npool | |
parent | clang plugin warnings (diff) | |
download | core-9de9c430ca36751b63744ccb2f31e5b075e599b0.tar.gz core-9de9c430ca36751b63744ccb2f31e5b075e599b0.zip |
Blind fix for MACOSX-only MsLangId::convertIsoNamesToLanguage leftover
Change-Id: Iec2845cb3717520e1126ac4e9743413d5f3a5119
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/isolang/inunx.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/i18npool/source/isolang/inunx.cxx b/i18npool/source/isolang/inunx.cxx index eb61f0bd54e4..778446a505f3 100644 --- a/i18npool/source/isolang/inunx.cxx +++ b/i18npool/source/isolang/inunx.cxx @@ -30,6 +30,7 @@ #endif // MACOSX #include <rtl/instance.hxx> +#include "i18npool/languagetag.hxx" #include "i18npool/mslangid.hxx" // ======================================================================= @@ -101,7 +102,7 @@ static void getPlatformSystemLanguageImpl( LanguageType& rSystemLanguage, rtl::OUString rLang( procLocale->Language ); rtl::OUString rCountry( procLocale->Country ); - nLang = MsLangId::convertIsoNamesToLanguage( rLang, rCountry ); + nLang = LanguageTag( rLang, rCountry ).getLanguageType(); OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER(); rSystemLanguage = nLang; #ifdef DEBUG |