diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-11-14 08:38:54 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-11-14 16:19:45 +0100 |
commit | 9edf69bc03b484afc9933047c92580c9aed71c78 (patch) | |
tree | 09fee38e660ce9a42f2af4d0cca83247b35b3b64 /svl/source/crypto | |
parent | 6c5355d45d27064ff4fed566d07041e0c6c372e9 (diff) |
cid#1634808 COPY_INSTEAD_OF_MOVE
Change-Id: I7209b869abb1133d27271979b1e6c06fa50f7ecb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176571
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svl/source/crypto')
-rw-r--r-- | svl/source/crypto/cryptosign.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx index 8a09dc0ae2ea..a711a304c0fb 100644 --- a/svl/source/crypto/cryptosign.cxx +++ b/svl/source/crypto/cryptosign.cxx @@ -989,7 +989,7 @@ bool Signing::Sign(OStringBuffer& rCMSHexBuffer) if (!m_rSigningContext.m_xCertificate.is()) { - m_rSigningContext.m_aDigest = aHashResult; + m_rSigningContext.m_aDigest = std::move(aHashResult); // No certificate is provided: don't actually sign -- just update the context with the // parameters for the signing and return. return false; |