summaryrefslogtreecommitdiff
path: root/include/oox
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-09-22 21:16:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-09-22 23:23:14 +0200
commitfcdfdc21b197bb9af1a75348ce912c5d1d47dfba (patch)
tree3bb09e8e87f03ee0c5c36d14f686df36814c8694 /include/oox
parentf8b6d1a2f48ce259ba2e75d41777293dfe23ab11 (diff)
Extend loplugin:stringviewparam to starts/endsWith: oox
Change-Id: I02b4352f02fe32f40c4fe0ab198d8ac094381c7a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122491 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/oox')
-rw-r--r--include/oox/export/shapes.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/oox/export/shapes.hxx b/include/oox/export/shapes.hxx
index 0f4e264fb1b6..646d462e827b 100644
--- a/include/oox/export/shapes.hxx
+++ b/include/oox/export/shapes.hxx
@@ -22,6 +22,7 @@
#include <cstddef>
#include <memory>
+#include <string_view>
#include <unordered_map>
#include <com/sun/star/awt/Size.hpp>
@@ -67,7 +68,7 @@ namespace oox {
OOX_DLLPUBLIC css::uno::Reference<css::io::XInputStream> GetOLEObjectStream(
css::uno::Reference<css::uno::XComponentContext> const& xContext,
css::uno::Reference<css::embed::XEmbeddedObject> const& xObj,
- OUString const& i_rProgID,
+ std::u16string_view i_rProgID,
OUString & o_rMediaType,
OUString & o_rRelationType,
OUString & o_rSuffix,