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:
parent
a7de9cc5e8
commit
82b7823cd8
10 changed files with 10 additions and 10 deletions
|
@ -1048,7 +1048,7 @@ void CustomShapeProperties::initializePresetDataMap()
|
||||||
}
|
}
|
||||||
bNotDone = aStream.ReadLine(aLine);
|
bNotDone = aStream.ReadLine(aLine);
|
||||||
}
|
}
|
||||||
maPresetDataMap[TokenMap::getTokenFromUnicode(aName)] = aPropertyMap;
|
maPresetDataMap[TokenMap::getTokenFromUnicode(aName)] = std::move(aPropertyMap);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -899,7 +899,7 @@ bool ScTable::SearchAndReplaceEmptyCells(
|
||||||
|
|
||||||
aNewRanges.push_back(rRange);
|
aNewRanges.push_back(rRange);
|
||||||
}
|
}
|
||||||
aRanges = aNewRanges;
|
aRanges = std::move(aNewRanges);
|
||||||
}
|
}
|
||||||
|
|
||||||
SvxSearchCmd nCommand = rSearchItem.GetCommand();
|
SvxSearchCmd nCommand = rSearchItem.GetCommand();
|
||||||
|
|
|
@ -484,7 +484,7 @@ void ScInterpreter::ScChooseJump()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
xNew = new ScJumpMatrixToken( pJumpMat );
|
xNew = new ScJumpMatrixToken(std::move(pJumpMat));
|
||||||
GetTokenMatrixMap().emplace(pCur, xNew);
|
GetTokenMatrixMap().emplace(pCur, xNew);
|
||||||
}
|
}
|
||||||
if (xNew)
|
if (xNew)
|
||||||
|
|
|
@ -1718,7 +1718,7 @@ void GradientFillModel::readGradientStop( SequenceInputStream& rStrm, bool bDxf
|
||||||
fPosition = rStrm.readDouble();
|
fPosition = rStrm.readDouble();
|
||||||
}
|
}
|
||||||
if( !rStrm.isEof() && (fPosition >= 0.0) )
|
if( !rStrm.isEof() && (fPosition >= 0.0) )
|
||||||
maColors[ fPosition ] = aColor;
|
maColors[ fPosition ] = std::move(aColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
ApiSolidFillData::ApiSolidFillData() :
|
ApiSolidFillData::ApiSolidFillData() :
|
||||||
|
|
|
@ -1162,7 +1162,7 @@ void ScChildrenShapes::SetAnchor(const uno::Reference<drawing::XShape>& xShape,
|
||||||
if ((xAddress && pData->xRelationCell && (*xAddress != *(pData->xRelationCell))) ||
|
if ((xAddress && pData->xRelationCell && (*xAddress != *(pData->xRelationCell))) ||
|
||||||
(!xAddress && pData->xRelationCell) || (xAddress && !pData->xRelationCell))
|
(!xAddress && pData->xRelationCell) || (xAddress && !pData->xRelationCell))
|
||||||
{
|
{
|
||||||
pData->xRelationCell = xAddress;
|
pData->xRelationCell = std::move(xAddress);
|
||||||
if (pData->pAccShape.is())
|
if (pData->pAccShape.is())
|
||||||
pData->pAccShape->SetRelationSet(GetRelationSet(pData));
|
pData->pAccShape->SetRelationSet(GetRelationSet(pData));
|
||||||
}
|
}
|
||||||
|
|
|
@ -1450,7 +1450,7 @@ namespace svgio::svgreader
|
||||||
}
|
}
|
||||||
else if(readSvgNumberVector(aContent, aVector))
|
else if(readSvgNumberVector(aContent, aVector))
|
||||||
{
|
{
|
||||||
maStrokeDasharray = aVector;
|
maStrokeDasharray = std::move(aVector);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -1583,7 +1583,7 @@ void SwAccessibleParagraph::_getDefaultAttributesImpl(
|
||||||
|
|
||||||
if ( !aRequestedAttributes.hasElements() )
|
if ( !aRequestedAttributes.hasElements() )
|
||||||
{
|
{
|
||||||
rDefAttrSeq = aDefAttrSeq;
|
rDefAttrSeq = std::move(aDefAttrSeq);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -1495,7 +1495,7 @@ void BitmapEx::CombineMaskOr(Color maskColor, sal_uInt8 nTol)
|
||||||
AlphaMask aNewMask = maBitmap.CreateAlphaMask( maskColor, nTol );
|
AlphaMask aNewMask = maBitmap.CreateAlphaMask( maskColor, nTol );
|
||||||
if ( IsAlpha() )
|
if ( IsAlpha() )
|
||||||
aNewMask.AlphaCombineOr( maAlphaMask );
|
aNewMask.AlphaCombineOr( maAlphaMask );
|
||||||
maAlphaMask = aNewMask;
|
maAlphaMask = std::move(aNewMask);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1205,7 +1205,7 @@ void Printer::SetPrinterSettingsPreferred( bool bPaperSizeFromSetup)
|
||||||
rData.SetPapersizeFromSetup(bPaperSizeFromSetup);
|
rData.SetPapersizeFromSetup(bPaperSizeFromSetup);
|
||||||
|
|
||||||
mbNewJobSetup = true;
|
mbNewJobSetup = true;
|
||||||
maJobSetup = aJobSetup;
|
maJobSetup = std::move(aJobSetup);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -207,7 +207,7 @@ KeynoteImportFilter::detect(css::uno::Sequence<css::beans::PropertyValue>& Descr
|
||||||
aProp.Value <<= true;
|
aProp.Value <<= true;
|
||||||
aProp.Handle = -1;
|
aProp.Handle = -1;
|
||||||
aProp.State = beans::PropertyState_DIRECT_VALUE;
|
aProp.State = beans::PropertyState_DIRECT_VALUE;
|
||||||
lComponentDataPV.getArray()[nCDSize] = aProp;
|
lComponentDataPV.getArray()[nCDSize] = std::move(aProp);
|
||||||
pDescriptor[nComponentDataLocation].Value <<= lComponentDataPV;
|
pDescriptor[nComponentDataLocation].Value <<= lComponentDataPV;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue