cid#1555009 COPY_INSTEAD_OF_MOVE

and

cid#1555173 COPY_INSTEAD_OF_MOVE
cid#1555255 COPY_INSTEAD_OF_MOVE
cid#1556619 COPY_INSTEAD_OF_MOVE
cid#1556766 COPY_INSTEAD_OF_MOVE
cid#1557131 COPY_INSTEAD_OF_MOVE

Change-Id: Ia581e7858d8ff4db08308b4118116781db1464a6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176193
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
Caolán McNamara 2024-11-07 08:22:05 +00:00
parent 1e496ce2cf
commit 6ec7e5bb89
6 changed files with 6 additions and 8 deletions

View file

@ -3071,7 +3071,7 @@ EditSelection ImpEditEngine::TransliterateText( const EditSelection& rSelection,
aChgData.nLen = nLen;
aChgData.aSelection = EditSelection( EditPaM( pNode, nCurrentStart ), EditPaM( pNode, nCurrentEnd ) );
aChgData.aNewText = aNewText;
aChgData.aOffsets = aOffsets;
aChgData.aOffsets = std::move(aOffsets);
aChanges.push_back( aChgData );
}

View file

@ -654,9 +654,7 @@ void LngSvcMgr::UpdateAll()
Sequence< OUString > aCfgSvcs( getConfiguredServices( aService, aLocale ));
Sequence< OUString > aAvailSvcs( getAvailableServices( aService, aLocale ));
aCfgSvcs = lcl_RemoveMissingEntries( aCfgSvcs, aAvailSvcs );
aCurSvcs[k][ rNodeName ] = aCfgSvcs;
aCurSvcs[k][rNodeName] = lcl_RemoveMissingEntries(aCfgSvcs, aAvailSvcs);
}

View file

@ -272,7 +272,7 @@ void SAL_CALL ScTableConditionalFormat::addNew(
else if ( rProp.Value >>= aTokens )
{
aEntry.maExpr1.clear();
aEntry.maTokens1 = aTokens;
aEntry.maTokens1 = std::move(aTokens);
}
}
else if ( rProp.Name == SC_UNONAME_FORMULA2 )

View file

@ -173,7 +173,7 @@ bool SvxZoomSliderItem::PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId
css::uno::Sequence < sal_Int32 > aValues;
if ( rVal >>= aValues )
{
maValues = aValues;
maValues = std::move(aValues);
return true;
}
else

View file

@ -1982,7 +1982,7 @@ void SwTextNode::TransliterateText(
aChgData.nStart = nCurrentStart;
aChgData.nLen = nLen;
aChgData.sChanged = sChgd;
aChgData.aOffsets = aOffsets;
aChgData.aOffsets = std::move(aOffsets);
aChanges.push_back( aChgData );
}

View file

@ -2797,7 +2797,7 @@ ContentProperties::getCreatableContentsInfo() const
// Folder.
aSeq.getArray()[ 0 ].Type = TDOC_FOLDER_CONTENT_TYPE;
aSeq.getArray()[ 0 ].Attributes = ucb::ContentInfoAttribute::KIND_FOLDER;
aSeq.getArray()[ 0 ].Properties = aProps;
aSeq.getArray()[ 0 ].Properties = std::move(aProps);
return aSeq;
}