summaryrefslogtreecommitdiff
path: root/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-06-24 15:40:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-06-24 18:23:51 +0200
commit1c57c295e86676d9cfe5aa72f55dbd5d24cc7930 (patch)
tree55a5a4d81564357c50fe6f458e48e8cb0d1811cf /reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx
parent72412c5773152a8023530b9807a42d7588f76f2b (diff)
clang-tidy modernize-pass-by-value in reportdesign
Change-Id: I2c005a2f66139237cb1ebf09812f31fb08f53c90 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136397 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx')
-rw-r--r--reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx b/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx
index edb4dcaaaad2..8e0dc1f3f00f 100644
--- a/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx
+++ b/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx
@@ -29,6 +29,7 @@
#include <comphelper/sequenceashashmap.hxx>
#include <comphelper/namedvaluecollection.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <utility>
#include <xmloff/attrlist.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlement.hxx>
@@ -47,9 +48,9 @@ namespace rptxml
using namespace ::com::sun::star;
using namespace ::xmloff::token;
-ImportDocumentHandler::ImportDocumentHandler(uno::Reference< uno::XComponentContext > const & context)
+ImportDocumentHandler::ImportDocumentHandler(uno::Reference< uno::XComponentContext > context)
:m_bImportedChart( false )
- ,m_xContext(context)
+ ,m_xContext(std::move(context))
{
}