summaryrefslogtreecommitdiff
path: root/svx/source/xml/xmlxtexp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-06-27 15:26:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-06-29 11:57:20 +0200
commit589134377d5d8e496454e4df08d1065abffdbbf3 (patch)
treef49d571a907d50709851e5b65a6c7b479fde7b44 /svx/source/xml/xmlxtexp.cxx
parentc3b1033db7f71011b0d0399dd66f8fe5bd441410 (diff)
loplugin:constantparam
Change-Id: I54f0e2864cb4ef00fea8f9e4369a1f76721e7503 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97369 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/xml/xmlxtexp.cxx')
-rw-r--r--svx/source/xml/xmlxtexp.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/xml/xmlxtexp.cxx b/svx/source/xml/xmlxtexp.cxx
index 27bd63fe9bcb..f501c0ea43a7 100644
--- a/svx/source/xml/xmlxtexp.cxx
+++ b/svx/source/xml/xmlxtexp.cxx
@@ -139,11 +139,10 @@ public:
SvxXMLXTableExportComponent::SvxXMLXTableExportComponent(
const css::uno::Reference< css::uno::XComponentContext >& rContext,
- const OUString& rFileName,
const uno::Reference<xml::sax::XDocumentHandler> & rHandler,
const uno::Reference<container::XNameContainer >& xTable,
uno::Reference<document::XGraphicStorageHandler> const & xGraphicStorageHandler)
-: SvXMLExport(rContext, "", rFileName, rHandler, nullptr, FieldUnit::MM_100TH, SvXMLExportFlags::NONE),
+: SvXMLExport(rContext, "", /*rFileName*/"", rHandler, nullptr, FieldUnit::MM_100TH, SvXMLExportFlags::NONE),
mxTable( xTable )
{
@@ -281,7 +280,7 @@ bool SvxXMLXTableExportComponent::save(
xGraphicStorageHandler = xGraphicHelper.get();
// Finally do the export
- rtl::Reference< SvxXMLXTableExportComponent > xExporter( new SvxXMLXTableExportComponent( xContext, "", xWriter, xTable, xGraphicStorageHandler ) );
+ rtl::Reference< SvxXMLXTableExportComponent > xExporter( new SvxXMLXTableExportComponent( xContext, xWriter, xTable, xGraphicStorageHandler ) );
bRet = xExporter->exportTable();
if( xGraphicHelper )