From 95bda80c626b4632a90e076060f0669146f7ed44 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 7 Aug 2024 13:20:17 +0100 Subject: cid#1557545 COPY_INSTEAD_OF_MOVE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and cid#1557556 COPY_INSTEAD_OF_MOVE cid#1557583 COPY_INSTEAD_OF_MOVE cid#1557587 COPY_INSTEAD_OF_MOVE cid#1557591 COPY_INSTEAD_OF_MOVE cid#1557598 COPY_INSTEAD_OF_MOVE cid#1557600 COPY_INSTEAD_OF_MOVE cid#1557653 COPY_INSTEAD_OF_MOVE Change-Id: I050bed7c088678e1d767d6edbe656eab2aee235d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171591 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sc/source/core/data/document.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source') diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 3830ed410cef..3b9c11157145 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -6564,7 +6564,7 @@ bool ScDocument::GetSparklineGroupInRange(ScRange const& rRange, std::shared_ptr } } - rGroup = pFoundGroup; + rGroup = std::move(pFoundGroup); return true; } -- cgit