From 589134377d5d8e496454e4df08d1065abffdbbf3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 27 Jun 2020 15:26:04 +0200 Subject: loplugin:constantparam Change-Id: I54f0e2864cb4ef00fea8f9e4369a1f76721e7503 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97369 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/xml/xmlxtexp.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'svx/source/xml/xmlxtexp.cxx') 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 & rHandler, const uno::Reference& xTable, uno::Reference 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 ) -- cgit