cid#1555070 COPY_INSTEAD_OF_MOVE

and

cid#1555069 COPY_INSTEAD_OF_MOVE
cid#1555128 COPY_INSTEAD_OF_MOVE
cid#1555131 COPY_INSTEAD_OF_MOVE
cid#1555137 COPY_INSTEAD_OF_MOVE
cid#1555142 COPY_INSTEAD_OF_MOVE
cid#1555152 COPY_INSTEAD_OF_MOVE
cid#1555154 COPY_INSTEAD_OF_MOVE
cid#1555161 COPY_INSTEAD_OF_MOVE
cid#1555163 COPY_INSTEAD_OF_MOVE

Change-Id: I86a5b7049ac8f31ca703add11381f5293233d9d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170863
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
Caolán McNamara 2024-07-22 21:47:33 +01:00
parent a7de9cc5e8
commit 82b7823cd8
10 changed files with 10 additions and 10 deletions

View file

@ -1048,7 +1048,7 @@ void CustomShapeProperties::initializePresetDataMap()
}
bNotDone = aStream.ReadLine(aLine);
}
maPresetDataMap[TokenMap::getTokenFromUnicode(aName)] = aPropertyMap;
maPresetDataMap[TokenMap::getTokenFromUnicode(aName)] = std::move(aPropertyMap);
}
}

View file

@ -899,7 +899,7 @@ bool ScTable::SearchAndReplaceEmptyCells(
aNewRanges.push_back(rRange);
}
aRanges = aNewRanges;
aRanges = std::move(aNewRanges);
}
SvxSearchCmd nCommand = rSearchItem.GetCommand();

View file

@ -484,7 +484,7 @@ void ScInterpreter::ScChooseJump()
}
}
}
xNew = new ScJumpMatrixToken( pJumpMat );
xNew = new ScJumpMatrixToken(std::move(pJumpMat));
GetTokenMatrixMap().emplace(pCur, xNew);
}
if (xNew)

View file

@ -1718,7 +1718,7 @@ void GradientFillModel::readGradientStop( SequenceInputStream& rStrm, bool bDxf
fPosition = rStrm.readDouble();
}
if( !rStrm.isEof() && (fPosition >= 0.0) )
maColors[ fPosition ] = aColor;
maColors[ fPosition ] = std::move(aColor);
}
ApiSolidFillData::ApiSolidFillData() :

View file

@ -1162,7 +1162,7 @@ void ScChildrenShapes::SetAnchor(const uno::Reference<drawing::XShape>& xShape,
if ((xAddress && pData->xRelationCell && (*xAddress != *(pData->xRelationCell))) ||
(!xAddress && pData->xRelationCell) || (xAddress && !pData->xRelationCell))
{
pData->xRelationCell = xAddress;
pData->xRelationCell = std::move(xAddress);
if (pData->pAccShape.is())
pData->pAccShape->SetRelationSet(GetRelationSet(pData));
}

View file

@ -1450,7 +1450,7 @@ namespace svgio::svgreader
}
else if(readSvgNumberVector(aContent, aVector))
{
maStrokeDasharray = aVector;
maStrokeDasharray = std::move(aVector);
}
}
break;

View file

@ -1583,7 +1583,7 @@ void SwAccessibleParagraph::_getDefaultAttributesImpl(
if ( !aRequestedAttributes.hasElements() )
{
rDefAttrSeq = aDefAttrSeq;
rDefAttrSeq = std::move(aDefAttrSeq);
}
else
{

View file

@ -1495,7 +1495,7 @@ void BitmapEx::CombineMaskOr(Color maskColor, sal_uInt8 nTol)
AlphaMask aNewMask = maBitmap.CreateAlphaMask( maskColor, nTol );
if ( IsAlpha() )
aNewMask.AlphaCombineOr( maAlphaMask );
maAlphaMask = aNewMask;
maAlphaMask = std::move(aNewMask);
}
/**

View file

@ -1205,7 +1205,7 @@ void Printer::SetPrinterSettingsPreferred( bool bPaperSizeFromSetup)
rData.SetPapersizeFromSetup(bPaperSizeFromSetup);
mbNewJobSetup = true;
maJobSetup = aJobSetup;
maJobSetup = std::move(aJobSetup);
}
}

View file

@ -207,7 +207,7 @@ KeynoteImportFilter::detect(css::uno::Sequence<css::beans::PropertyValue>& Descr
aProp.Value <<= true;
aProp.Handle = -1;
aProp.State = beans::PropertyState_DIRECT_VALUE;
lComponentDataPV.getArray()[nCDSize] = aProp;
lComponentDataPV.getArray()[nCDSize] = std::move(aProp);
pDescriptor[nComponentDataLocation].Value <<= lComponentDataPV;
}
}