diff options
Diffstat (limited to 'sw/source/filter/xml/xmlimpit.cxx')
-rw-r--r-- | sw/source/filter/xml/xmlimpit.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmlimpit.cxx b/sw/source/filter/xml/xmlimpit.cxx index adec1835221d..d7eeb7926372 100644 --- a/sw/source/filter/xml/xmlimpit.cxx +++ b/sw/source/filter/xml/xmlimpit.cxx @@ -20,6 +20,7 @@ #include "xmlimpit.hxx" #include <sax/tools/converter.hxx> +#include <utility> #include <xmloff/xmluconv.hxx> #include <svl/itempool.hxx> #include <svl/poolitem.hxx> @@ -71,7 +72,7 @@ SvXMLImportItemMapper::~SvXMLImportItemMapper() void SvXMLImportItemMapper::setMapEntries( SvXMLItemMapEntriesRef rMapEntries ) { - mrMapEntries = rMapEntries; + mrMapEntries = std::move(rMapEntries); } // fills the given itemset with the attributes in the given list |