summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-06 20:55:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-07 08:30:45 +0200
commit5f626cc0fde4be1aaa039402ba095651259dde90 (patch)
tree482261948dda61f34ce13ed39c7dcaec4f954d70 /oox
parent95ec2e9b024ff12a3005777c902d7e0975460b1d (diff)
loplugin:unusedvariableplus in oox
Change-Id: I742c0c9416a5cfaa1b2d471d25fbf6c7439f7ec8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91779 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/chart/axisconverter.cxx2
-rw-r--r--oox/source/export/chartexport.cxx1
2 files changed, 1 insertions, 2 deletions
diff --git a/oox/source/drawingml/chart/axisconverter.cxx b/oox/source/drawingml/chart/axisconverter.cxx
index 5d1c94b875ba..9e62b61d73bc 100644
--- a/oox/source/drawingml/chart/axisconverter.cxx
+++ b/oox/source/drawingml/chart/axisconverter.cxx
@@ -410,6 +410,6 @@ void AxisDispUnitsConverter::convertFromModel( const Reference< XAxis >& rxAxis
}
}
-} // namespace oox
+} // namespace oox::drawingml::chart
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index ba0fdb3c94fd..16c4788b32b7 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1998,7 +1998,6 @@ void ChartExport::exportScatterChartSeries( const Reference< chart2::XChartType
void ChartExport::exportScatterChart( const Reference< chart2::XChartType >& xChartType )
{
- FSHelperPtr pFS = GetFS();
std::vector<Sequence<Reference<chart2::XDataSeries> > > aSplitDataSeries = splitDataSeriesByAxis(xChartType);
bool bExported = false;
for (auto & splitDataSeries : aSplitDataSeries)