diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-20 09:34:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-20 22:09:56 +0200 |
commit | d573e2ae17d2ff589ec7adc0dddf6a78db4cc93a (patch) | |
tree | cefd09b6f39b3116f26193dc043bda1f49713ae9 /i18nutil | |
parent | 41c04ceb3b1b14c3c99ede86524df8f3de4f5daa (diff) |
loplugin:ostr in various
Change-Id: I9f399b3752da9df930e0647536ffcd4e82beb1ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167856
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18nutil')
-rw-r--r-- | i18nutil/source/utility/unicode.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx index e98afeeff3b8..b0e1cd4d85ef 100644 --- a/i18nutil/source/utility/unicode.cxx +++ b/i18nutil/source/utility/unicode.cxx @@ -1044,7 +1044,7 @@ OUString unicode::formatPercent(double dNumber, // http://www.unicode.org/cldr/charts/24/by_type/numbers.number_formatting_patterns.html // so format using French which has the desired rules if (aLangTag.getLanguage() == "es" || aLangTag.getLanguage() == "sl") - aLangTag.reset("fr-FR"); + aLangTag.reset(u"fr-FR"_ustr); icu::Locale aLocale = LanguageTagIcu::getIcuLocale(aLangTag); |