summaryrefslogtreecommitdiff
path: root/include/oox
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-29 12:20:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2021-01-04 15:29:54 +0100
commitc34e8bd71384326184baac7dea31f7ddf9bae6bc (patch)
tree0914b24023030781b3a74a768be9df4d2873b4b9 /include/oox
parenta1cdde17aa27902ee162d5b40860f05c592c4de8 (diff)
loplugin:stringviewparam: operator +=
Change-Id: I30ce1b5bd8fb168da7067c1967c5af2569df2653 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108512 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/oox')
-rw-r--r--include/oox/mathml/importutils.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/oox/mathml/importutils.hxx b/include/oox/mathml/importutils.hxx
index 851b2564a100..9ab79a6f0858 100644
--- a/include/oox/mathml/importutils.hxx
+++ b/include/oox/mathml/importutils.hxx
@@ -10,6 +10,7 @@
#define INCLUDED_OOX_MATHML_IMPORTUTILS_HXX
#include <map>
+#include <string_view>
#include <vector>
#include <com/sun/star/uno/Reference.hxx>
@@ -229,7 +230,7 @@ public:
void appendOpeningTag(int token, const AttributeList& attribs);
void appendClosingTag(int token);
// appends the characters after the last appended token
- void appendCharacters(const OUString& characters);
+ void appendCharacters(std::u16string_view characters);
};
inline OUString XmlStream::Tag::attribute(int t, const OUString& def) const