[Libreoffice-commits] core.git: i18nlangtag/source
Eike Rathke
erack at redhat.com
Mon May 8 17:46:08 UTC 2017
i18nlangtag/source/isolang/isolang.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4a9b5341925cea5821fcbf3f2c0522e8e694b1bd
Author: Eike Rathke <erack at redhat.com>
Date: Mon May 8 19:43:45 2017 +0200
Make kSAME constexpr and move k0 to the same place.
Change-Id: Id99d2dd799d3ee0cc2badf4aaf1b5acd7fb02c27
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx
index 3c2d0219f7e0..9ee33709f041 100644
--- a/i18nlangtag/source/isolang/isolang.cxx
+++ b/i18nlangtag/source/isolang/isolang.cxx
@@ -28,7 +28,8 @@
using namespace com::sun::star;
-static const LanguageType kSAME(0xffff);
+constexpr LanguageType k0(0);
+constexpr LanguageType kSAME(0xffff);
namespace {
inline LanguageType getOverrideLang( LanguageType nLang, LanguageType nOverride )
@@ -165,7 +166,6 @@ struct IsoLangOtherEntry
* code:
* LANGUAGE_ENGLISH LANGUAGE_ARABIC_PRIMARY_ONLY
*/
-constexpr LanguageType k0(0);
static IsoLanguageCountryEntry const aImplIsoLangEntries[] =
{
More information about the Libreoffice-commits
mailing list