diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-12-28 17:56:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-12-29 16:42:33 +0100 |
commit | 042033f1e6da22616cb76c8d950c20c9efecbad5 (patch) | |
tree | 26b3f1f42d067506f44550b410f3fb9640616a5b /include/svl | |
parent | ccfd8e9d09f9ac0a0ea92d0f378391006faaf934 (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/svl')
-rw-r--r-- | include/svl/lockfilecommon.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
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 <osl/mutex.hxx> #include <tools/urlobj.hxx> #include <o3tl/enumarray.hxx> + +#include <string_view> #include <vector> 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); |