summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/NetChartType.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-05 08:24:32 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-05 11:30:13 +0000
commita7ec6c29aaed1ed7dd8713a9b8698d12181c40a3 (patch)
treecb7e36caf97f4f63a1a5448cb3cf877740053841 /chart2/source/model/template/NetChartType.cxx
parent9866efe3e5a670bab54d931be31e1989aeb382a7 (diff)
loplugin:constantparam in chart2
Change-Id: I9adcf4516107aaa960463be13090c2ac15685e09 Reviewed-on: https://gerrit.libreoffice.org/23833 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'chart2/source/model/template/NetChartType.cxx')
-rw-r--r--chart2/source/model/template/NetChartType.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/model/template/NetChartType.cxx b/chart2/source/model/template/NetChartType.cxx
index fc745a6077a1..7b2ee98baef7 100644
--- a/chart2/source/model/template/NetChartType.cxx
+++ b/chart2/source/model/template/NetChartType.cxx
@@ -66,8 +66,7 @@ Reference< XCoordinateSystem > SAL_CALL
static_cast< ::cppu::OWeakObject* >( this ), 0 );
Reference< XCoordinateSystem > xResult(
- new PolarCoordinateSystem(
- GetComponentContext(), DimensionCount, /* bSwapXAndYAxis */ false ));
+ new PolarCoordinateSystem( GetComponentContext(), DimensionCount ));
Reference< XAxis > xAxis( xResult->getAxisByDimension( 0, MAIN_AXIS_INDEX ) );
if( xAxis.is() )