summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-11-09 15:21:23 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-11-09 20:21:43 +0100
commit6e9f865789e6c4fabe35c0eb28302217c5c5b9d8 (patch)
treeacdb6adf641c13bd504adf8d665bcf6b87c0b866 /desktop/source
parentdcd7be141f6f7f55b9fbf583a014b3add4d08dfe (diff)
cid#1634574 COPY_INSTEAD_OF_MOVE
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 <caolan.mcnamara@collabora.com>
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 1 insertions, 1 deletions
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);
}