sc/source/ui/view/viewfun5.cxx                   |    3 ++-
 xmlsecurity/source/helper/xmlsignaturehelper.cxx |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 069fd3f54e3f330fd072eff11b34a22e73413c21
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Sat Jul 13 20:54:40 2024 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Sun Jul 14 15:15:58 2024 +0200

    cid#1608236 COPY_INSTEAD_OF_MOVE
    
    Change-Id: I3f46c1d7e68dbf79ddbc9dc50d2735ebe1727b14
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170445
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/xmlsecurity/source/helper/xmlsignaturehelper.cxx 
b/xmlsecurity/source/helper/xmlsignaturehelper.cxx
index d69b48ae076b..731405e8ad0b 100644
--- a/xmlsecurity/source/helper/xmlsignaturehelper.cxx
+++ b/xmlsecurity/source/helper/xmlsignaturehelper.cxx
@@ -759,7 +759,7 @@ XMLSignatureHelper::CheckAndUpdateSignatureInformation(
                         // longer EncapsulatedX509Certificate chain
                         datas.emplace_back(tempResult);
 #endif
-                        certs = encapsulatedCerts; // overwrite this seems 
easier
+                        certs = std::move(encapsulatedCerts); // overwrite 
this seems easier
                     }
                 }
                 else
commit e3e325d0ce4a3520761eeb18aa606c479eafa381
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Sat Jul 13 20:41:57 2024 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Sun Jul 14 15:15:49 2024 +0200

    cid#1607284 COPY_INSTEAD_OF_MOVE
    
    Change-Id: Iacaf551260e878f39a36adc8b6d0ea142c092f98
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170444
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Tested-by: Jenkins

diff --git a/sc/source/ui/view/viewfun5.cxx b/sc/source/ui/view/viewfun5.cxx
index c9a3c4bed01c..223a06f6424b 100644
--- a/sc/source/ui/view/viewfun5.cxx
+++ b/sc/source/ui/view/viewfun5.cxx
@@ -749,7 +749,8 @@ bool ScViewFunc::PasteDataFormatFormattedText( 
SotClipboardFormatId nFormatId,
 
             bAllowDialogs = bAllowDialogs && !SC_MOD()->IsInExecuteDrop();
 
-            pDlg->StartExecuteAsync([this, pDlg, &rDoc, pStrm, nFormatId, 
pStrBuffer, pObj, bAllowDialogs](sal_Int32 nResult){
+            pDlg->StartExecuteAsync([this, pDlg, &rDoc, pStrm, nFormatId, 
pStrBuffer,
+                                     pObj=std::move(pObj), 
bAllowDialogs](sal_Int32 nResult){
                 bool bShowErrorDialog = bAllowDialogs;
                 if (RET_OK == nResult)
                 {

Reply via email to