summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-09-22 19:04:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-09-22 22:06:04 +0200
commit51c9d41ca97955dd986cd5fec1aed6fbc6ec1374 (patch)
tree922e152a47a87a5ca6b9fb2a13a620a25083386e /include/svx
parent3ead1e624514466811d451325d02acd50862c80a (diff)
xtend loplugin:stringviewparam to starts/endsWith: svx
Change-Id: I998b5e7ba3580aabfc454ce3354bffd3d0cb7d61 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122479 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/unomod.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/svx/unomod.hxx b/include/svx/unomod.hxx
index dcdbfa8358d5..d786824ebbab 100644
--- a/include/svx/unomod.hxx
+++ b/include/svx/unomod.hxx
@@ -20,6 +20,10 @@
#ifndef INCLUDED_SVX_UNOMOD_HXX
#define INCLUDED_SVX_UNOMOD_HXX
+#include <sal/config.h>
+
+#include <string_view>
+
#include <com/sun/star/document/EventObject.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/container/XIndexReplace.hpp>
@@ -49,7 +53,7 @@ public:
/// @throws css::uno::Exception
/// @throws css::uno::RuntimeException
- static css::uno::Reference< css::uno::XInterface > createTextField( const OUString& aServiceSpecifier );
+ static css::uno::Reference< css::uno::XInterface > createTextField( std::u16string_view aServiceSpecifier );
/** fills the given EventObject from the given SdrHint.
@returns