diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-12-28 17:56:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-12-29 16:42:33 +0100 |
commit | 042033f1e6da22616cb76c8d950c20c9efecbad5 (patch) | |
tree | 26b3f1f42d067506f44550b410f3fb9640616a5b /xmloff/source/style/xmlnumfi.cxx | |
parent | ccfd8e9d09f9ac0a0ea92d0f378391006faaf934 (diff) |
loplugin:stringviewparam: operator +
Change-Id: I044dd21b63d7eb03224675584fa143009c6b6008
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108418
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmloff/source/style/xmlnumfi.cxx')
-rw-r--r-- | xmloff/source/style/xmlnumfi.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index e513e1e34be2..1e54872ada83 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -43,6 +43,7 @@ #include <xmloff/languagetagodf.hxx> #include <memory> +#include <string_view> #include <vector> using namespace ::com::sun::star; @@ -1212,7 +1213,7 @@ SvXMLNumFormatContext::SvXMLNumFormatContext( SvXMLImport& rImport, return; LanguageTag aLanguageTag( OUString(), aNatNumAttr.Locale.Language, - OUString(), aNatNumAttr.Locale.Country); + std::u16string_view(), aNatNumAttr.Locale.Country); aNatNumAttr.Locale = aLanguageTag.getLocale( false); // NatNum12 spell out formula (cardinal, ordinal, ordinal-feminine etc.) |