diff options
Diffstat (limited to 'xmloff/source/style/xmlprcon.cxx')
-rw-r--r-- | xmloff/source/style/xmlprcon.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlprcon.cxx b/xmloff/source/style/xmlprcon.cxx index cb0a6eca9e2f..4788cc4f8c5a 100644 --- a/xmloff/source/style/xmlprcon.cxx +++ b/xmloff/source/style/xmlprcon.cxx @@ -18,6 +18,7 @@ */ #include <sal/log.hxx> +#include <utility> #include <xmloff/xmlprcon.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/xmltypes.hxx> @@ -33,14 +34,14 @@ SvXMLPropertySetContext::SvXMLPropertySetContext( const uno::Reference< xml::sax::XFastAttributeList >& xAttrList, sal_uInt32 nFam, vector< XMLPropertyState > &rProps, - const rtl::Reference < SvXMLImportPropertyMapper > &rMap, + rtl::Reference < SvXMLImportPropertyMapper > xMap, sal_Int32 nSIdx, sal_Int32 nEIdx ) : SvXMLImportContext( rImp ) , mnStartIdx( nSIdx ) , mnEndIdx( nEIdx ) , mnFamily( nFam ) , mrProperties( rProps ) -, mxMapper( rMap ) +, mxMapper(std::move( xMap )) { mxMapper->importXML( mrProperties, xAttrList, GetImport().GetMM100UnitConverter(), |