i18npool/source/isolang/inunx.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 9de9c430ca36751b63744ccb2f31e5b075e599b0 Author: Stephan Bergmann <[email protected]> Date: Tue Nov 20 17:09:39 2012 +0100 Blind fix for MACOSX-only MsLangId::convertIsoNamesToLanguage leftover Change-Id: Iec2845cb3717520e1126ac4e9743413d5f3a5119 diff --git a/i18npool/source/isolang/inunx.cxx b/i18npool/source/isolang/inunx.cxx index eb61f0b..778446a 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 _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
