summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-02 08:53:15 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-08-02 17:27:10 +0200
commit7f9f32aa11852e8ea9588f6fbe3416484cadd229 (patch)
treed883ddaefc50a5d8c0cb03315f45d79371b370f7 /sc/source
parentf29d94c7b1bf9bee3e3598d90ba6e9dfd684ecfc (diff)
cid#1556472 COPY_INSTEAD_OF_MOVE
and cid#1556481 COPY_INSTEAD_OF_MOVE cid#1556486 COPY_INSTEAD_OF_MOVE cid#1556491 COPY_INSTEAD_OF_MOVE cid#1556507 COPY_INSTEAD_OF_MOVE cid#1556515 COPY_INSTEAD_OF_MOVE cid#1556518 COPY_INSTEAD_OF_MOVE cid#1556519 COPY_INSTEAD_OF_MOVE cid#1556533 COPY_INSTEAD_OF_MOVE cid#1556536 COPY_INSTEAD_OF_MOVE cid#1556559 COPY_INSTEAD_OF_MOVE cid#1556577 COPY_INSTEAD_OF_MOVE cid#1556581 COPY_INSTEAD_OF_MOVE Change-Id: I2ad2f2194e2a89c7246e8742b2fc8be7580e38c3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171394 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/unoobj/chart2uno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx
index e4830dd78f86..e2ac6f5b0917 100644
--- a/sc/source/ui/unoobj/chart2uno.cxx
+++ b/sc/source/ui/unoobj/chart2uno.cxx
@@ -2770,7 +2770,7 @@ void ScChart2DataSequence::UpdateTokensFromRanges(const ScRangeList& rRanges)
ScRefTokenHelper::getTokenFromRange(m_pDocument, pToken, rRange);
sal_uInt32 nOrigPos = (*m_oRangeIndices)[i];
- m_aTokens[nOrigPos] = pToken;
+ m_aTokens[nOrigPos] = std::move(pToken);
}
RefChanged();