summaryrefslogtreecommitdiff
path: root/chart2/source/model/main
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-01-12 10:27:13 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-01-12 14:52:08 +0100
commitf1dc4e0d2a0bb3561c539bbdbdf1678d712d5cb3 (patch)
tree0e3f66bb1b64c5dfdf6f8fe3f9ca3e901f321537 /chart2/source/model/main
parent2da068327d18b7e8d63a17001a7abb4d9e350411 (diff)
cid#1546414 COPY_INSTEAD_OF_MOVE
and cid#1546408 COPY_INSTEAD_OF_MOVE cid#1546367 COPY_INSTEAD_OF_MOVE cid#1546283 COPY_INSTEAD_OF_MOVE cid#1546268 COPY_INSTEAD_OF_MOVE Change-Id: I8b6067f70bc0e8cce7117bb3f366227add279887 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161964 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'chart2/source/model/main')
-rw-r--r--chart2/source/model/main/Diagram.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/model/main/Diagram.cxx b/chart2/source/model/main/Diagram.cxx
index db7be686b0c9..99065d8910c5 100644
--- a/chart2/source/model/main/Diagram.cxx
+++ b/chart2/source/model/main/Diagram.cxx
@@ -1080,7 +1080,7 @@ static bool lcl_moveSeriesOrCheckIfMoveIsAllowed(
aOtherSeriesList[nOtherSeriesIndex] = xGivenDataSeries;
xFormerChartType->setDataSeries(aOtherSeriesList);
- aSeriesList[nOldSeriesIndex]=xExchangeSeries;
+ aSeriesList[nOldSeriesIndex] = std::move(xExchangeSeries);
xCurrentChartType->setDataSeries(aSeriesList);
}
}