summaryrefslogtreecommitdiff
path: root/i18nlangtag
diff options
context:
space:
mode:
Diffstat (limited to 'i18nlangtag')
-rw-r--r--i18nlangtag/source/isolang/mslangid.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/i18nlangtag/source/isolang/mslangid.cxx b/i18nlangtag/source/isolang/mslangid.cxx
index dc15bf30662e..3ed50cdd80e2 100644
--- a/i18nlangtag/source/isolang/mslangid.cxx
+++ b/i18nlangtag/source/isolang/mslangid.cxx
@@ -475,14 +475,12 @@ bool MsLangId::isNonLatinWestern( LanguageType nLang )
// static
bool MsLangId::isLegacy( LanguageType nLang )
{
- if (nLang.anyOf(
+ return nLang.anyOf(
LANGUAGE_SERBIAN_CYRILLIC_SAM,
- LANGUAGE_SERBIAN_LATIN_SAM))
+ LANGUAGE_SERBIAN_LATIN_SAM);
/* TODO: activate once dictionary was renamed from pap-AN to
* pap-CW, or the pap-CW one supports also pap-AN, see fdo#44112 */
//case LANGUAGE_PAPIAMENTU:
- return true;
- return false;
}