summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
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);
}