chart2/source/view/charttypes/VSeriesPlotter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ff84bee9a22dfc5f383407fd4d390a0a78bcaddd Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Tue Oct 15 12:24:04 2024 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Tue Oct 15 16:03:28 2024 +0200 cid#1557492 COPY_INSTEAD_OF_MOVE Change-Id: I093583db8ca8d244d05e8df365c35cdf3b4d6fef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174969 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx index 5370c3f381af..2b8db435545f 100644 --- a/chart2/source/view/charttypes/VSeriesPlotter.cxx +++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx @@ -2845,7 +2845,7 @@ std::vector< ViewLegendEntry > VSeriesPlotter::createLegendEntriesForSeries( // set CID to symbol for selection if( xShape.is()) { - aEntry.xSymbol = xSymbolGroup; + aEntry.xSymbol = std::move(xSymbolGroup); OUString aChildParticle( ObjectIdentifier::createChildParticleWithIndex( OBJECTTYPE_LEGEND_ENTRY, 0 ) ); OUString aCID = ObjectIdentifier::createClassifiedIdentifierForParticles( rSeries.getSeriesParticle(), aChildParticle );