From 51c9d41ca97955dd986cd5fec1aed6fbc6ec1374 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 22 Sep 2021 19:04:28 +0200 Subject: 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 --- include/svx/unomod.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/svx') 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 + +#include + #include #include #include @@ -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 -- cgit