summaryrefslogtreecommitdiff
path: root/framework/source/layoutmanager/toolbarlayoutmanager.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-09-22 23:25:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-09-23 07:25:40 +0200
commitcb3058aa4e3155d97d47d1444b808da7297b5794 (patch)
tree2e712390eccca93e5e19d87a429ed6214d840a4b /framework/source/layoutmanager/toolbarlayoutmanager.hxx
parent84e61754bfe2f07de412c24513774900702a48a2 (diff)
Extend loplugin:stringviewparam to starts/endsWith: framework
Change-Id: Idc92058e7d2ff63d55e97e6b2fee83314fc0334c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122498 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'framework/source/layoutmanager/toolbarlayoutmanager.hxx')
-rw-r--r--framework/source/layoutmanager/toolbarlayoutmanager.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.hxx b/framework/source/layoutmanager/toolbarlayoutmanager.hxx
index d91938a55d47..b826b1e8cd34 100644
--- a/framework/source/layoutmanager/toolbarlayoutmanager.hxx
+++ b/framework/source/layoutmanager/toolbarlayoutmanager.hxx
@@ -21,6 +21,7 @@
#include <sal/config.h>
+#include <string_view>
#include <vector>
#include <uiconfiguration/globalsettings.hxx>
@@ -86,7 +87,7 @@ class ToolbarLayoutManager : public ::cppu::WeakImplHelper< css::awt::XDockableW
bool requestToolbar( const OUString& rResourceURL );
bool createToolbar( const OUString& rResourceURL );
- bool destroyToolbar( const OUString& rResourceURL );
+ bool destroyToolbar( std::u16string_view rResourceURL );
// visibility
bool showToolbar( std::u16string_view rResourceURL );