summaryrefslogtreecommitdiff
path: root/i18nlangtag
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-05-08 19:43:45 +0200
committerEike Rathke <erack@redhat.com>2017-05-08 19:43:54 +0200
commit4a9b5341925cea5821fcbf3f2c0522e8e694b1bd (patch)
treebc4ca9e919b64c553bd397d1d581e68c6dd35a65 /i18nlangtag
parent649ba77d36c4b554fb6f69206d59a1c5c9555fc0 (diff)
Make kSAME constexpr and move k0 to the same place.
Change-Id: Id99d2dd799d3ee0cc2badf4aaf1b5acd7fb02c27
Diffstat (limited to 'i18nlangtag')
-rw-r--r--i18nlangtag/source/isolang/isolang.cxx4
1 files 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[] =
{