summaryrefslogtreecommitdiff
path: root/i18nlangtag/source/isolang/isolang.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18nlangtag/source/isolang/isolang.cxx')
-rw-r--r--i18nlangtag/source/isolang/isolang.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx
index f1bfb18f161d..6b0dedf7e83f 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -961,7 +961,7 @@ Label_Override_Lang_Locale:
{
rLocale.Language = OUString::createFromAscii( pEntry->maLanguage );
rLocale.Country = OUString::createFromAscii( pEntry->maCountry );
- rLocale.Variant = OUString();
+ rLocale.Variant.clear();
return;
}
else if (pEntry->mnOverride && pEntryOverride != pEntry)
@@ -980,7 +980,7 @@ Label_Override_Lang_Locale:
if (pPrivateEntry->mnLang == nLang)
{
rLocale.Language = I18NLANGTAG_QLT;
- rLocale.Country = OUString();
+ rLocale.Country.clear();
rLocale.Variant = OUString::createFromAscii( pPrivateEntry->mpLanguage );
return;
}