summaryrefslogtreecommitdiff
path: root/include/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 /include/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 'include/i18nlangtag')
-rw-r--r--include/i18nlangtag/languagetag.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/i18nlangtag/languagetag.hxx b/include/i18nlangtag/languagetag.hxx
index 4fbb6d0c2e11..500f84da00f7 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;