summaryrefslogtreecommitdiff
path: root/svgio/inc/svgnode.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-09-22 20:01:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-09-22 21:13:42 +0200
commit8f2f2a8d131eef60164c0586fb73b69fd950f15d (patch)
treefa98f6b008419f08f51ad2c89cede01e4f20e597 /svgio/inc/svgnode.hxx
parent49cee95eb4efddefde9caab33d0a639e83f05202 (diff)
Extend loplugin:stringviewparam to starts/endsWith: svgio
Change-Id: Ia48465b86e6b2e5362b95a2b228414bfc6ac6490 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122481 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svgio/inc/svgnode.hxx')
-rw-r--r--svgio/inc/svgnode.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svgio/inc/svgnode.hxx b/svgio/inc/svgnode.hxx
index 93c303fa2df7..63c6b2318406 100644
--- a/svgio/inc/svgnode.hxx
+++ b/svgio/inc/svgnode.hxx
@@ -24,6 +24,7 @@
#include <com/sun/star/xml/sax/XAttributeList.hpp>
#include <drawinglayer/primitive2d/Primitive2DContainer.hxx>
#include <memory>
+#include <string_view>
#include <vector>
#include <optional>
@@ -72,7 +73,7 @@ namespace svgio::svgreader
// helper to convert a string associated with a token of type SVGTokenDisplay
// to the enum Display. Empty strings return the default 'Display_inline' with
// which members should be initialized
- Display getDisplayFromContent(const OUString& aContent);
+ Display getDisplayFromContent(std::u16string_view aContent);
class Visitor;