diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-09-25 21:07:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-25 21:07:29 +0100 |
commit | be214eb2e193707f6bd4d1a279a6cadd1b734948 (patch) | |
tree | 9770aec09e9a6acec53bcb0727bc025b76ad35ee /i18nutil | |
parent | c606f4bfa49b930ab50b98eacbfae9d6d73a180d (diff) |
avoid coverity#1371161 Missing move assignment operator
Change-Id: Ief3dd38ade3fca74ea35e2a1a71637cba3336b59
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 9c489b1a6706..bb82bbff4a5b 100644 --- a/i18nutil/source/utility/unicode.cxx +++ b/i18nutil/source/utility/unicode.cxx @@ -976,7 +976,7 @@ OUString SAL_CALL 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 = LanguageTag("fr-FR"); + aLangTag.reset("fr-FR"); icu::Locale aLocale = LanguageTagIcu::getIcuLocale(aLangTag); |