[Libreoffice-commits] core.git: oox/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Tue Apr 7 06:31:20 UTC 2020


 oox/source/drawingml/chart/axisconverter.cxx |    2 +-
 oox/source/export/chartexport.cxx            |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 5f626cc0fde4be1aaa039402ba095651259dde90
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Mon Apr 6 20:55:34 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Apr 7 08:30:45 2020 +0200

    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 at collabora.co.uk>

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)


More information about the Libreoffice-commits mailing list