summaryrefslogtreecommitdiff
path: root/i18nlangtag/source/languagetag/languagetag.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18nlangtag/source/languagetag/languagetag.cxx')
-rw-r--r--i18nlangtag/source/languagetag/languagetag.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx
index 446f06b3f0ac..0601d03b3e88 100644
--- a/i18nlangtag/source/languagetag/languagetag.cxx
+++ b/i18nlangtag/source/languagetag/languagetag.cxx
@@ -2638,9 +2638,7 @@ static bool lcl_isSystem( LanguageType nLangID )
// There are some special values that simplify to SYSTEM,
// getRealLanguage() catches and resolves them.
LanguageType nNewLangID = MsLangId::getRealLanguage( nLangID);
- if (nNewLangID != nLangID)
- return true;
- return false;
+ return nNewLangID != nLangID;
}