sw/source/core/edit/edfcol.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f0019607e2e39843d7bde7fae31728fd70922254 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Thu Nov 14 12:22:00 2024 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Sat Nov 16 21:03:30 2024 +0100 cid#1557644 COPY_INSTEAD_OF_MOVE Change-Id: I63510464b74e72f8fc73899e963e20891cdf0f12 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176644 Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Tested-by: Jenkins diff --git a/sw/source/core/edit/edfcol.cxx b/sw/source/core/edit/edfcol.cxx index 452b487970fd..64b990b4a4c4 100644 --- a/sw/source/core/edit/edfcol.cxx +++ b/sw/source/core/edit/edfcol.cxx @@ -1796,7 +1796,7 @@ void SwEditShell::SignParagraph() // 3. Sign it. svl::crypto::SigningContext aSigningContext; - aSigningContext.m_xCertificate = xCertificate; + aSigningContext.m_xCertificate = std::move(xCertificate); svl::crypto::Signing signing(aSigningContext); signing.AddDataRange(utf8Text.getStr(), utf8Text.getLength()); OStringBuffer sigBuf;