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>
diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx
index 1390dfe..29c85cd 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.
diff --git a/include/i18nlangtag/languagetag.hxx b/include/i18nlangtag/languagetag.hxx
index 4fbb6d0..500f84d 100644
--- a/include/i18nlangtag/languagetag.hxx
+++ b/include/i18nlangtag/languagetag.hxx
@@ -32,7 +32,8 @@
    LanguageTag contains a plain language/country combination or a more
    detailed BCP 47 language tag use LanguageTag::isIsoLocale() instead.
 */
#define I18NLANGTAG_QLT "qlt"
#define I18NLANGTAG_QLT_ASCII "qlt"
inline constexpr OUStringLiteral I18NLANGTAG_QLT = u"qlt";


class LanguageTagImpl;