[Libreoffice-commits] core.git: i18nlangtag/source
Eike Rathke
erack at redhat.com
Mon May 8 17:28:48 UTC 2017
i18nlangtag/source/languagetag/languagetag.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 649ba77d36c4b554fb6f69206d59a1c5c9555fc0
Author: Eike Rathke <erack at redhat.com>
Date: Mon May 8 19:27:52 2017 +0200
Whatever LANGUAGE_SYSTEM may be in future, this has to be 0
Change-Id: Iddc4dcf3e29919b092560d3bdd81ca85667b224b
diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx
index 6a9e55778bf9..2edb6eafc435 100644
--- a/i18nlangtag/source/languagetag/languagetag.cxx
+++ b/i18nlangtag/source/languagetag/languagetag.cxx
@@ -643,7 +643,7 @@ LanguageTag::ImplPtr LanguageTagImpl::registerOnTheFly( LanguageType nRegisterID
if (!bOtherImpl || !pImpl->mbInitializedLangID)
{
- if (nRegisterID == LANGUAGE_SYSTEM || nRegisterID == LANGUAGE_DONTKNOW)
+ if (nRegisterID == LanguageType(0) || nRegisterID == LANGUAGE_DONTKNOW)
nRegisterID = getNextOnTheFlyLanguage();
else
{
More information about the Libreoffice-commits
mailing list