diff options
Diffstat (limited to 'chart2/source/model')
9 files changed, 15 insertions, 24 deletions
diff --git a/chart2/source/model/inc/CartesianCoordinateSystem.hxx b/chart2/source/model/inc/CartesianCoordinateSystem.hxx index 9466a9a9e179..d17126c9b9e0 100644 --- a/chart2/source/model/inc/CartesianCoordinateSystem.hxx +++ b/chart2/source/model/inc/CartesianCoordinateSystem.hxx @@ -29,8 +29,7 @@ class CartesianCoordinateSystem : public BaseCoordinateSystem public: explicit CartesianCoordinateSystem( const css::uno::Reference< css::uno::XComponentContext > & xContext, - sal_Int32 nDimensionCount = 2, - bool bSwapXAndYAxis = false ); + sal_Int32 nDimensionCount = 2 ); explicit CartesianCoordinateSystem( const CartesianCoordinateSystem & rSource ); virtual ~CartesianCoordinateSystem(); diff --git a/chart2/source/model/inc/PolarCoordinateSystem.hxx b/chart2/source/model/inc/PolarCoordinateSystem.hxx index abd8a6bff923..ba4def86ec79 100644 --- a/chart2/source/model/inc/PolarCoordinateSystem.hxx +++ b/chart2/source/model/inc/PolarCoordinateSystem.hxx @@ -29,8 +29,7 @@ class PolarCoordinateSystem : public BaseCoordinateSystem public: explicit PolarCoordinateSystem( const css::uno::Reference< css::uno::XComponentContext > & xContext, - sal_Int32 nDimensionCount = 2, - bool bSwapXAndYAxis = false ); + sal_Int32 nDimensionCount = 2 ); explicit PolarCoordinateSystem( const PolarCoordinateSystem & rSource ); virtual ~PolarCoordinateSystem(); diff --git a/chart2/source/model/main/CartesianCoordinateSystem.cxx b/chart2/source/model/main/CartesianCoordinateSystem.cxx index 4e1409f6d7ae..3e49456885ad 100644 --- a/chart2/source/model/main/CartesianCoordinateSystem.cxx +++ b/chart2/source/model/main/CartesianCoordinateSystem.cxx @@ -47,9 +47,8 @@ namespace chart // explicit CartesianCoordinateSystem::CartesianCoordinateSystem( const uno::Reference< uno::XComponentContext > & xContext, - sal_Int32 nDimensionCount /* = 2 */, - bool bSwapXAndYAxis /* = sal_False */ ) : - BaseCoordinateSystem( xContext, nDimensionCount, bSwapXAndYAxis ) + sal_Int32 nDimensionCount /* = 2 */ ) : + BaseCoordinateSystem( xContext, nDimensionCount, false/*bSwapXAndYAxis*/ ) {} CartesianCoordinateSystem::CartesianCoordinateSystem( @@ -115,7 +114,7 @@ css::uno::Sequence< OUString > SAL_CALL CartesianCoordinateSystem::getSupportedS CartesianCoordinateSystem2d::CartesianCoordinateSystem2d( const uno::Reference< uno::XComponentContext > & xContext ) : - CartesianCoordinateSystem( xContext, 2, false ) + CartesianCoordinateSystem( xContext, 2 ) {} CartesianCoordinateSystem2d::~CartesianCoordinateSystem2d() @@ -158,7 +157,7 @@ css::uno::Sequence< OUString > SAL_CALL CartesianCoordinateSystem2d::getSupporte CartesianCoordinateSystem3d::CartesianCoordinateSystem3d( const uno::Reference< uno::XComponentContext > & xContext ) : - CartesianCoordinateSystem( xContext, 3, false ) + CartesianCoordinateSystem( xContext, 3 ) {} CartesianCoordinateSystem3d::~CartesianCoordinateSystem3d() diff --git a/chart2/source/model/main/PolarCoordinateSystem.cxx b/chart2/source/model/main/PolarCoordinateSystem.cxx index 96c9bf2f915f..525f3fec8d0a 100644 --- a/chart2/source/model/main/PolarCoordinateSystem.cxx +++ b/chart2/source/model/main/PolarCoordinateSystem.cxx @@ -47,9 +47,8 @@ namespace chart // explicit PolarCoordinateSystem::PolarCoordinateSystem( const uno::Reference< uno::XComponentContext > & xContext, - sal_Int32 nDimensionCount /* = 2 */, - bool bSwapXAndYAxis /* = sal_False */ ) : - BaseCoordinateSystem( xContext, nDimensionCount, bSwapXAndYAxis ) + sal_Int32 nDimensionCount /* = 2 */ ) : + BaseCoordinateSystem( xContext, nDimensionCount, false/*bSwapXAndYAxis*/ ) {} PolarCoordinateSystem::PolarCoordinateSystem( @@ -115,7 +114,7 @@ css::uno::Sequence< OUString > SAL_CALL PolarCoordinateSystem::getSupportedServi PolarCoordinateSystem2d::PolarCoordinateSystem2d( const uno::Reference< uno::XComponentContext > & xContext ) : - PolarCoordinateSystem( xContext, 2, false ) + PolarCoordinateSystem( xContext, 2 ) {} PolarCoordinateSystem2d::~PolarCoordinateSystem2d() @@ -158,7 +157,7 @@ css::uno::Sequence< OUString > SAL_CALL PolarCoordinateSystem2d::getSupportedSer PolarCoordinateSystem3d::PolarCoordinateSystem3d( const uno::Reference< uno::XComponentContext > & xContext ) : - PolarCoordinateSystem( xContext, 3, false ) + PolarCoordinateSystem( xContext, 3 ) {} PolarCoordinateSystem3d::~PolarCoordinateSystem3d() diff --git a/chart2/source/model/template/BubbleChartType.cxx b/chart2/source/model/template/BubbleChartType.cxx index 09ce013c4df6..12ece4617286 100644 --- a/chart2/source/model/template/BubbleChartType.cxx +++ b/chart2/source/model/template/BubbleChartType.cxx @@ -125,8 +125,7 @@ Reference< chart2::XCoordinateSystem > SAL_CALL uno::RuntimeException, std::exception) { Reference< chart2::XCoordinateSystem > xResult( - new CartesianCoordinateSystem( - GetComponentContext(), DimensionCount, /* bSwapXAndYAxis */ false )); + new CartesianCoordinateSystem( GetComponentContext(), DimensionCount )); for( sal_Int32 i=0; i<DimensionCount; ++i ) { diff --git a/chart2/source/model/template/ChartType.cxx b/chart2/source/model/template/ChartType.cxx index bd6162828393..7c402f20317d 100644 --- a/chart2/source/model/template/ChartType.cxx +++ b/chart2/source/model/template/ChartType.cxx @@ -78,8 +78,7 @@ Reference< chart2::XCoordinateSystem > SAL_CALL uno::RuntimeException, std::exception) { Reference< chart2::XCoordinateSystem > xResult( - new CartesianCoordinateSystem( - GetComponentContext(), DimensionCount, /* bSwapXAndYAxis */ false )); + new CartesianCoordinateSystem( GetComponentContext(), DimensionCount )); for( sal_Int32 i=0; i<DimensionCount; ++i ) { 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() ) diff --git a/chart2/source/model/template/PieChartType.cxx b/chart2/source/model/template/PieChartType.cxx index 568966f035c7..f6c2975986a5 100644 --- a/chart2/source/model/template/PieChartType.cxx +++ b/chart2/source/model/template/PieChartType.cxx @@ -164,8 +164,7 @@ Reference< chart2::XCoordinateSystem > SAL_CALL uno::RuntimeException, std::exception) { Reference< chart2::XCoordinateSystem > xResult( - new PolarCoordinateSystem( - GetComponentContext(), DimensionCount, /* bSwapXAndYAxis */ false )); + new PolarCoordinateSystem( GetComponentContext(), DimensionCount )); for( sal_Int32 i=0; i<DimensionCount; ++i ) { diff --git a/chart2/source/model/template/ScatterChartType.cxx b/chart2/source/model/template/ScatterChartType.cxx index 0849a408e989..f4466f903d82 100644 --- a/chart2/source/model/template/ScatterChartType.cxx +++ b/chart2/source/model/template/ScatterChartType.cxx @@ -183,8 +183,7 @@ Reference< chart2::XCoordinateSystem > SAL_CALL uno::RuntimeException, std::exception) { Reference< chart2::XCoordinateSystem > xResult( - new CartesianCoordinateSystem( - GetComponentContext(), DimensionCount, /* bSwapXAndYAxis */ false )); + new CartesianCoordinateSystem( GetComponentContext(), DimensionCount )); for( sal_Int32 i=0; i<DimensionCount; ++i ) { |