From 6e9f865789e6c4fabe35c0eb28302217c5c5b9d8 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 9 Nov 2024 15:21:23 +0000 Subject: cid#1634574 COPY_INSTEAD_OF_MOVE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and cid#1634579 COPY_INSTEAD_OF_MOVE cid#1634583 COPY_INSTEAD_OF_MOVE cid#1634586 COPY_INSTEAD_OF_MOVE Change-Id: I24f4f0edf90546fe89ebecf0652f27298b5dd2a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176311 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- desktop/source/lib/init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop/source') diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 3f20dc65ec04..a0f73fd49f8a 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -7280,7 +7280,7 @@ static bool doc_insertCertificate(LibreOfficeKitDocument* pThis, SolarMutexGuard aGuard; svl::crypto::SigningContext aSigningContext; - aSigningContext.m_xCertificate = xCertificate; + aSigningContext.m_xCertificate = std::move(xCertificate); return pObjectShell->SignDocumentContentUsingCertificate(aSigningContext); } -- cgit