From 98c4cd372bf0e9d4b5b129405f5af4562d8a0f64 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 15 May 2017 11:27:44 +0200 Subject: loplugin:unusedfields improve write-only analysis by whitelisting a couple of methods we know only write to their parameters Change-Id: Id7aef9c03c23d10c27707b21eb9a0db4a6c2757c Reviewed-on: https://gerrit.libreoffice.org/37647 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/chart/SchXMLExport.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx index 4332c02b6b81..3c7191cc1eb1 100644 --- a/xmloff/source/chart/SchXMLExport.cxx +++ b/xmloff/source/chart/SchXMLExport.cxx @@ -254,7 +254,6 @@ public: OUString msString; // members filled by InitRangeSegmentationProperties (retrieved from DataProvider) - bool mbHasSeriesLabels; bool mbHasCategoryLabels; //if the categories are only automatically generated this will be false bool mbRowSourceColumns; OUString msChartAddress; @@ -1022,7 +1021,6 @@ SchXMLExportHelper_Impl::SchXMLExportHelper_Impl( SvXMLAutoStylePoolP& rASPool ) : mrExport( rExport ), mrAutoStylePool( rASPool ), - mbHasSeriesLabels( false ), mbHasCategoryLabels( false ), mbRowSourceColumns( true ), msCLSID( SvGlobalName( SO3_SCH_CLASSID ).GetHexName() ) @@ -3659,8 +3657,6 @@ void SchXMLExportHelper_Impl::InitRangeSegmentationProperties( const Reference< aArgs[i].Value >>= eRowSource; mbRowSourceColumns = ( eRowSource == chart::ChartDataRowSource_COLUMNS ); } - else if ( aArgs[i].Name == "FirstCellAsLabel" ) - aArgs[i].Value >>= mbHasSeriesLabels; else if ( aArgs[i].Name == "SequenceMapping" ) aArgs[i].Value >>= maSequenceMapping; else if ( aArgs[i].Name == "TableNumberList" ) -- cgit