diff options
author | Eike Rathke <erack@redhat.com> | 2013-08-23 20:11:15 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-08-23 23:09:08 +0200 |
commit | 54e3af6ab108774bc0065be92798137e403ea25c (patch) | |
tree | cb82bf5fbc38a71479fd86d66b982488289a8c3c /i18nlangtag | |
parent | f3e124f4bd759095d977a9639d226ed582ed76d7 (diff) |
passed rLocale remains unchanged if no mapping found
Change-Id: I4d1494dc5cba7a92fb067191477c3cbba46b056d
Diffstat (limited to 'i18nlangtag')
-rw-r--r-- | i18nlangtag/source/isolang/isolang.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx index 1e7ac848fc73..31ecf084d3b5 100644 --- a/i18nlangtag/source/isolang/isolang.cxx +++ b/i18nlangtag/source/isolang/isolang.cxx @@ -710,10 +710,7 @@ void MsLangId::Conversion::convertLanguageToLocaleImpl( LanguageType nLang, } while ( pPrivateEntry->mnLang != LANGUAGE_DONTKNOW ); - // Not found. The effective result is the empty SYSTEM locale. - rLocale.Language = OUString(); - rLocale.Country = OUString(); - rLocale.Variant = OUString(); + // Not found. Passed rLocale argument remains unchanged. } // ----------------------------------------------------------------------- |