diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:54:13 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:58:00 +0200 |
commit | 64e62cfa74c56a4c98982949ba76b4632b955d6d (patch) | |
tree | 43f5b52b8eb9d651dedfc85bebfc324c8d8c6db4 /i18nlangtag/source | |
parent | 24556a49123f4c2f3c221488fc7015b49e459a7b (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): i18nlangtag
Change-Id: I04e013d61cc6b85fe6234f7d2934f22cc6c266e9
Reviewed-on: https://gerrit.libreoffice.org/76671
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'i18nlangtag/source')
-rw-r--r-- | i18nlangtag/source/languagetag/languagetag.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx index ad9c2ceea898..65d1a53b3022 100644 --- a/i18nlangtag/source/languagetag/languagetag.cxx +++ b/i18nlangtag/source/languagetag/languagetag.cxx @@ -2344,7 +2344,7 @@ LanguageTag & LanguageTag::makeFallback() OUString LanguageTag::getBcp47MS() const { if (getLanguageType() == LANGUAGE_SPANISH_DATED) - return OUString("es-ES_tradnl"); + return "es-ES_tradnl"; return getBcp47(); } |