diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-19 09:01:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-19 12:09:11 +0200 |
commit | 3693894529856ed0ee84357bf8a5c60d57c8d215 (patch) | |
tree | d0e8d66a7ecc95af42ae1bc4470d172ad319a9a3 /xmloff | |
parent | 647bbcd7f3adc2146dbb003d80d9811c355f1311 (diff) |
cid#1554837 COPY_INSTEAD_OF_MOVE
and
cid#1554847 COPY_INSTEAD_OF_MOVE
cid#1554850 COPY_INSTEAD_OF_MOVE
cid#1554857 COPY_INSTEAD_OF_MOVE
cid#1554860 COPY_INSTEAD_OF_MOVE
cid#1554870 COPY_INSTEAD_OF_MOVE
cid#1554874 COPY_INSTEAD_OF_MOVE
cid#1557899 COPY_INSTEAD_OF_MOVE
cid#1608424 COPY_INSTEAD_OF_MOVE
cid#1608402 COPY_INSTEAD_OF_MOVE
Change-Id: Iaa6e39cf24cd56cdc4a9be5cbf2b8073a1f635c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170722
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/xmlimppr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/xmlimppr.cxx b/xmloff/source/style/xmlimppr.cxx index 32749a94c8a8..2af2092378f9 100644 --- a/xmloff/source/style/xmlimppr.cxx +++ b/xmloff/source/style/xmlimppr.cxx @@ -253,7 +253,7 @@ void SvXMLImportPropertyMapper::importXMLAttribute( if( nReference == -1 ) rProperties.push_back( aNewProperty ); else - rProperties[nReference] = aNewProperty; + rProperties[nReference] = std::move(aNewProperty); } else { |