diff options
author | Eike Rathke <erack@redhat.com> | 2013-08-27 17:08:38 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-08-27 18:09:10 +0200 |
commit | d9eaef1fafe5fa3037d02962bfe334f50132803e (patch) | |
tree | e7f5d4c4e95dd85b39530d8fae2837929e39d3a2 /i18nlangtag | |
parent | 29c61173d66864dde5ca18d6c21dca22ab4e018c (diff) |
better check for 'qlt' instead of assuming Variant follows convention
Change-Id: I0915e5cd657633533a7374d533ec12c2bdaa3b8b
Diffstat (limited to 'i18nlangtag')
-rw-r--r-- | i18nlangtag/source/isolang/isolang.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx index 9c2ae71805c4..3eb2d2550ecd 100644 --- a/i18nlangtag/source/isolang/isolang.cxx +++ b/i18nlangtag/source/isolang/isolang.cxx @@ -766,7 +766,7 @@ void MsLangId::Conversion::convertLanguageToLocaleImpl( LanguageType nLang, OUString aUpperCountry = rLocale.Country.toAsciiUpperCase(); sal_Int32 nCountryLen = aUpperCountry.getLength(); - if (!rLocale.Variant.isEmpty()) + if (rLocale.Language == I18NLANGTAG_QLT) { // Search in ISO lll-Ssss-CC const IsoLanguageScriptCountryEntry* pFirstScript = NULL; |