From 042033f1e6da22616cb76c8d950c20c9efecbad5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 28 Dec 2020 17:56:40 +0100 Subject: loplugin:stringviewparam: operator + Change-Id: I044dd21b63d7eb03224675584fa143009c6b6008 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108418 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- include/svl/lockfilecommon.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/svl') diff --git a/include/svl/lockfilecommon.hxx b/include/svl/lockfilecommon.hxx index 77349c48a4a4..f94e41b6cb20 100644 --- a/include/svl/lockfilecommon.hxx +++ b/include/svl/lockfilecommon.hxx @@ -27,6 +27,8 @@ #include #include #include + +#include #include enum class LockFileComponent @@ -48,7 +50,7 @@ protected: ::osl::Mutex m_aMutex; /// This method generates the URL of the lock file based on the document URL and the specified prefix. - static OUString GenerateOwnLockFileURL(const OUString& aOrigURL, const OUString& aPrefix); + static OUString GenerateOwnLockFileURL(const OUString& aOrigURL, std::u16string_view aPrefix); public: LockFileCommon(const OUString& aLockFileURL); -- cgit