summaryrefslogtreecommitdiff
path: root/xmloff/inc/txtlists.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-09 22:42:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-09 23:31:17 +0100
commitdf810a82058a07dd8b1c2268955d64328e53cf97 (patch)
tree060003d876f4aad232475144e1df1ca65d7cc7c5 /xmloff/inc/txtlists.hxx
parentff8d82dc4cc0841f11ad6d51d3ed37450a6f6971 (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 'xmloff/inc/txtlists.hxx')
-rw-r--r--xmloff/inc/txtlists.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/inc/txtlists.hxx b/xmloff/inc/txtlists.hxx
index 0e77d60f2ec4..282c87c586a8 100644
--- a/xmloff/inc/txtlists.hxx
+++ b/xmloff/inc/txtlists.hxx
@@ -24,6 +24,7 @@
#include <map>
#include <memory>
#include <stack>
+#include <string_view>
#include <tuple>
#include <vector>
#include <com/sun/star/container/XIndexReplace.hpp>
@@ -115,7 +116,7 @@ class XMLTextListsHelper
static css::uno::Reference< css::container::XIndexReplace> MakeNumRule(
SvXMLImport & i_rImport,
const css::uno::Reference< css::container::XIndexReplace>& i_xNumRule,
- const OUString& i_ParentStyleName,
+ std::u16string_view i_ParentStyleName,
const OUString& i_StyleName,
sal_Int16 & io_rLevel,
bool* o_pRestartNumbering = nullptr,