From 3693894529856ed0ee84357bf8a5c60d57c8d215 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 19 Jul 2024 09:01:40 +0100 Subject: cid#1554837 COPY_INSTEAD_OF_MOVE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Jenkins --- xmloff/source/style/xmlimppr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff') 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 { -- cgit