summaryrefslogtreecommitdiff
path: root/i18nlangtag
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-11-29 13:24:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-29 17:58:06 +0100
commit6a2352ca8abbdcd6a6376144e6dd185ffeaef5d0 (patch)
treeeeedf6912094922875da695204550d3e02fdb8dc /i18nlangtag
parentcdbfb27c5e96c08deb8757f33ac2885b24be303f (diff)
loplugin:stringliteraldefine in i18nlangtag
Change-Id: Ibc4758235ad15858d288e6f3015e2dfcb1650a26 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126042 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18nlangtag')
-rw-r--r--i18nlangtag/source/languagetag/languagetag.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx
index 1390dfe06213..29c85cd710fc 100644
--- a/i18nlangtag/source/languagetag/languagetag.cxx
+++ b/i18nlangtag/source/languagetag/languagetag.cxx
@@ -2876,7 +2876,7 @@ bool LanguageTag::isValidBcp47( const OUString& rString, OUString* o_pCanonicali
if (pLangT)
{
const char* pLang = lt_lang_get_tag( pLangT);
- if (pLang && strcmp( pLang, I18NLANGTAG_QLT) == 0)
+ if (pLang && strcmp( pLang, I18NLANGTAG_QLT_ASCII) == 0)
{
// Disallow 'qlt' privateuse code to prevent
// confusion with our internal usage.