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.mcnamara@collabora.com>
This commit is contained in:
Caolán McNamara 2024-10-15 12:24:04 +01:00
parent 28d8a59d9c
commit ff84bee9a2

View file

@ -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 );