ucb/source/ucp/cmis/auth_provider.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit cc8106f66ea26c0ae2874a5c1168f43a6263a564
Author:     Noel Grandin <[email protected]>
AuthorDate: Thu Aug 4 14:50:35 2022 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Thu Aug 4 18:55:56 2022 +0200

    cid#1507745 return local
    
    regression from
        commit b4b4c129e9f00189978cd7b71fd74d0dca4c9ebc
        Author: Noel Grandin <[email protected]>
        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 <[email protected]>

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;
 

Reply via email to