diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-30 11:59:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-30 16:23:05 +0100 |
commit | 427d8f61d7bc4087a9408ba7f0b8a718943f4240 (patch) | |
tree | 348ac1cd346bd3eb9c46be4bf442821d3b388c6e /sw | |
parent | 9e00b676ee500aa46ce539f4adf8c4de73039b36 (diff) |
cid#1546349 COPY_INSTEAD_OF_MOVE
and
cid#1546236 COPY_INSTEAD_OF_MOVE
cid#1546126 COPY_INSTEAD_OF_MOVE
cid#1546042 COPY_INSTEAD_OF_MOVE
Change-Id: I24b60d855f564ba8551501fc1dc614b24d5505c6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161440
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/docnode/retrievedinputstreamdata.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/docnode/retrievedinputstreamdata.cxx b/sw/source/core/docnode/retrievedinputstreamdata.cxx index 311be07ca719..607f14c21359 100644 --- a/sw/source/core/docnode/retrievedinputstreamdata.cxx +++ b/sw/source/core/docnode/retrievedinputstreamdata.cxx @@ -38,8 +38,7 @@ SwRetrievedInputStreamDataManager::tDataKey SwRetrievedInputStreamDataManager::R // create empty data container for given thread Consumer tDataKey nDataKey( snNextKeyValue ); - tData aNewEntry( pThreadConsumer ); - maInputStreamData[ nDataKey ] = aNewEntry; + maInputStreamData[nDataKey] = tData(pThreadConsumer); // prepare next data key value if ( snNextKeyValue < SAL_MAX_UINT64 ) |