summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-07 13:20:17 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-07 18:17:50 +0200
commit95bda80c626b4632a90e076060f0669146f7ed44 (patch)
tree26dd2ed2eeff6ebb2c2b6b11c64716727720a87c /sc/source
parent4c514dc78b68fc9c69a8425ee93d199bef1deac8 (diff)
cid#1557545 COPY_INSTEAD_OF_MOVE
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 <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/document.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}