cid#1557397 COPY_INSTEAD_OF_MOVE

Change-Id: I9c33fe01e6f48b61df4130b548d9a6c793aa7e85
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169979
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
Caolán McNamara
2024-07-04 08:58:48 +01:00
parent fec0684c86
commit 5d9267b81c

View File

@@ -1164,7 +1164,7 @@ bool SwDBManager::MergeMailFiles(SwWrtShell* pSourceShell,
pFilterContainer->GetFilter4FilterName( rMergeDescriptor.sSaveToFilter );
if(pFilter)
{
pStoreToFilter = pFilter;
pStoreToFilter = std::move(pFilter);
if(!rMergeDescriptor.sSaveToFilterOptions.isEmpty())
pStoreToFilterOptions = &rMergeDescriptor.sSaveToFilterOptions;
}