summaryrefslogtreecommitdiff
path: root/reportdesign/source/filter/xml/xmlExportDocumentHandler.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/xmlExportDocumentHandler.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/xmlExportDocumentHandler.cxx')
-rw-r--r--reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx b/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx
index b8b064cc670d..9c80fdefb34d 100644
--- a/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx
+++ b/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx
@@ -26,6 +26,7 @@
#include <comphelper/sequenceashashmap.hxx>
#include <comphelper/documentconstants.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <utility>
#include <xmloff/attrlist.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlement.hxx>
@@ -68,8 +69,8 @@ static void lcl_correctCellAddress(const OUString & _sName, const uno::Reference
}
}
-ExportDocumentHandler::ExportDocumentHandler(uno::Reference< uno::XComponentContext > const & context) :
- m_xContext(context)
+ExportDocumentHandler::ExportDocumentHandler(uno::Reference< uno::XComponentContext > context) :
+ m_xContext(std::move(context))
,m_nColumnCount(0)
,m_bTableRowsStarted(false)
,m_bFirstRowExported(false)