diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-12-09 22:42:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-12-09 23:31:17 +0100 |
commit | df810a82058a07dd8b1c2268955d64328e53cf97 (patch) | |
tree | 060003d876f4aad232475144e1df1ca65d7cc7c5 /include/xmloff | |
parent | ff8d82dc4cc0841f11ad6d51d3ed37450a6f6971 (diff) |
Fix loplugin:stringviewparam handling of comparison operators
Change-Id: I58456efb9588b544d998ac6a4c27d55457280742
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107510
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/xmloff')
-rw-r--r-- | include/xmloff/numehelp.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/xmloff/numehelp.hxx b/include/xmloff/numehelp.hxx index cd976381a274..41d2ddaf29e4 100644 --- a/include/xmloff/numehelp.hxx +++ b/include/xmloff/numehelp.hxx @@ -27,6 +27,7 @@ #include <com/sun/star/uno/Reference.hxx> #include <set> +#include <string_view> namespace com::sun::star::util { class XNumberFormats; } namespace com::sun::star::util { class XNumberFormatsSupplier; } @@ -91,7 +92,7 @@ public: bool bExportValue = true); static void SetNumberFormatAttributes(SvXMLExport& rXMLExport, const OUString& rValue, - const OUString& rCharacters, + std::u16string_view rCharacters, bool bExportValue, bool bExportTypeAttribute = true); @@ -106,7 +107,7 @@ public: bool bExportValue = true, sal_uInt16 nNamespace = XML_NAMESPACE_OFFICE, bool bExportCurrencySymbol = true); void SetNumberFormatAttributes(const OUString& rValue, - const OUString& rCharacters, + std::u16string_view rCharacters, bool bExportValue = true, sal_uInt16 nNamespace = XML_NAMESPACE_OFFICE); }; |