summaryrefslogtreecommitdiff
path: root/cui/source/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-09-23 07:29:55 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-09-23 08:51:16 +0200
commit7c2c5400cb1726112165482cc6074a88351edfae (patch)
tree2e933ad1f00785209356250f1427c1562c56ec36 /cui/source/inc
parent2e088bf71767849e99070d576fb300c244bd6475 (diff)
Extend loplugin:stringviewparam to starts/endsWith: cui
Change-Id: I96bbf66fa62784f0a4de61b627d6e21b665a4edc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122505 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cui/source/inc')
-rw-r--r--cui/source/inc/hlinettp.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/cui/source/inc/hlinettp.hxx b/cui/source/inc/hlinettp.hxx
index e8eb96e6883d..c2340fdde2f7 100644
--- a/cui/source/inc/hlinettp.hxx
+++ b/cui/source/inc/hlinettp.hxx
@@ -18,6 +18,10 @@
*/
#pragma once
+#include <sal/config.h>
+
+#include <string_view>
+
#include "cuihyperdlg.hxx"
#include "hltpbase.hxx"
@@ -54,7 +58,7 @@ private:
DECL_LINK( TimeoutHdl_Impl, Timer *, void); ///< Handler for timer -timeout
- void SetScheme(const OUString& rScheme);
+ void SetScheme(std::u16string_view rScheme);
void RemoveImproperProtocol(std::u16string_view rProperScheme);
OUString GetSchemeFromButtons() const;
INetProtocol GetSmartProtocolFromButtons() const;