diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-04 14:50:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-04 18:55:56 +0200 |
commit | cc8106f66ea26c0ae2874a5c1168f43a6263a564 (patch) | |
tree | 2872b518f50a59862a51c34b8c99895aa77a71f9 /ucb | |
parent | 0ae71b5527e18a7698da093847e5ad2be6a11d09 (diff) |
cid#1507745 return local
regression from
commit b4b4c129e9f00189978cd7b71fd74d0dca4c9ebc
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date: Mon Aug 1 09:09:05 2022 +0200
clang-tidy modernize-pass-by-value in ucb
Change-Id: Ie5d7d78ebde6fdee1234a0da496ff9692ee3c2c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137796
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/cmis/auth_provider.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/cmis/auth_provider.hxx b/ucb/source/ucp/cmis/auth_provider.hxx index c350617e226c..1768c12173f0 100644 --- a/ucb/source/ucp/cmis/auth_provider.hxx +++ b/ucb/source/ucp/cmis/auth_provider.hxx @@ -31,10 +31,10 @@ namespace cmis OUString m_sBindingUrl; public: - AuthProvider ( css::uno::Reference< css::ucb::XCommandEnvironment> xEnv, + AuthProvider ( const css::uno::Reference< css::ucb::XCommandEnvironment> & xEnv, OUString sUrl, OUString sBindingUrl ): - m_xEnv( std::move(xEnv) ), m_sUrl( std::move(sUrl) ), m_sBindingUrl( std::move(sBindingUrl) ) { } + m_xEnv( xEnv ), m_sUrl( std::move(sUrl) ), m_sBindingUrl( std::move(sBindingUrl) ) { } bool authenticationQuery( std::string& username, std::string& password ) override; |