diff options
-rw-r--r-- | i18nlangtag/source/isolang/inunx.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i18nlangtag/source/isolang/inunx.cxx b/i18nlangtag/source/isolang/inunx.cxx index cf0e5f4854cc..46b5e5b6cb40 100644 --- a/i18nlangtag/source/isolang/inunx.cxx +++ b/i18nlangtag/source/isolang/inunx.cxx @@ -42,7 +42,7 @@ static LanguageType nImplSystemUILanguage = LANGUAGE_DONTKNOW; // Get locale of category LC_CTYPE of environment variables static const sal_Char* getLangFromEnvironment() { - static const sal_Char* pFallback = "C"; + static const sal_Char* const pFallback = "C"; const sal_Char *pLang = nullptr; pLang = getenv ( "LC_ALL" ); @@ -60,7 +60,7 @@ static const sal_Char* getLangFromEnvironment() // Get locale of category LC_MESSAGES of environment variables static const sal_Char* getUILangFromEnvironment() { - static const sal_Char* pFallback = "C"; + static const sal_Char* const pFallback = "C"; const sal_Char *pLang = nullptr; pLang = getenv ( "LANGUAGE" ); // respect the GNU extension |