From 4a9b5341925cea5821fcbf3f2c0522e8e694b1bd Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Mon, 8 May 2017 19:43:45 +0200 Subject: Make kSAME constexpr and move k0 to the same place. Change-Id: Id99d2dd799d3ee0cc2badf4aaf1b5acd7fb02c27 --- i18nlangtag/source/isolang/isolang.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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[] = { -- cgit