summaryrefslogtreecommitdiff
path: root/include/test/helper/form.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-28 17:56:40 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-29 16:42:33 +0100
commit042033f1e6da22616cb76c8d950c20c9efecbad5 (patch)
tree26b3f1f42d067506f44550b410f3fb9640616a5b /include/test/helper/form.hxx
parentccfd8e9d09f9ac0a0ea92d0f378391006faaf934 (diff)
loplugin:stringviewparam: operator +
Change-Id: I044dd21b63d7eb03224675584fa143009c6b6008 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108418 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/test/helper/form.hxx')
-rw-r--r--include/test/helper/form.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/test/helper/form.hxx b/include/test/helper/form.hxx
index 0fbcd2c7b06a..d3b80544d7b5 100644
--- a/include/test/helper/form.hxx
+++ b/include/test/helper/form.hxx
@@ -10,12 +10,15 @@
#ifndef INCLUDED_TEST_HELPER_FORM_HXX
#define INCLUDED_TEST_HELPER_FORM_HXX
+#include <sal/config.h>
+
+#include <string_view>
+
#include <com/sun/star/drawing/XControlShape.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/uno/Reference.hxx>
-#include <sal/config.h>
#include <sal/types.h>
#include <test/testdllapi.hxx>
@@ -49,7 +52,7 @@ css::uno::Reference<css::drawing::XControlShape> OOO_DLLPUBLIC_TEST createComman
* @return The created XControlShape.
*/
css::uno::Reference<css::drawing::XControlShape> OOO_DLLPUBLIC_TEST createControlShape(
- const css::uno::Reference<css::lang::XComponent>& r_xComponent, const OUString& r_aKind,
+ const css::uno::Reference<css::lang::XComponent>& r_xComponent, std::u16string_view r_aKind,
const sal_Int32 nX, const sal_Int32 nY, const sal_Int32 nHeight, const sal_Int32 nWidth);
} // namespace form