diff options
Diffstat (limited to 'chart2/source/view/charttypes/VSeriesPlotter.cxx')
-rw-r--r-- | chart2/source/view/charttypes/VSeriesPlotter.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx index 3fee4195e507..38a6bb865730 100644 --- a/chart2/source/view/charttypes/VSeriesPlotter.cxx +++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx @@ -1218,7 +1218,7 @@ void VSeriesPlotter::createRegressionCurveEquationShapes( const uno::Reference< chart2::XRegressionCurveCalculator > & xRegressionCurveCalculator, awt::Point aDefaultPos ) { - assert(xEquationProperties.is()); + OSL_ASSERT( xEquationProperties.is()); if( !xEquationProperties.is()) return; @@ -1317,7 +1317,7 @@ void VSeriesPlotter::createRegressionCurveEquationShapes( xEquationTarget, aFormula.makeStringAndClear(), aNames, aValues, AbstractShapeFactory::makeTransformation( aScreenPosition2D )); - assert(xTextShape.is()); + OSL_ASSERT( xTextShape.is()); if( xTextShape.is()) { AbstractShapeFactory::setShapeName( xTextShape, rEquationCID ); @@ -2350,7 +2350,7 @@ Reference< drawing::XShape > VSeriesPlotter::createLegendSymbolForPoint( if( xChild.is()) xChild->setParent( xSeriesProps ); - assert(xPointSet.is()); + OSL_ASSERT( xPointSet.is()); xPointSet->setPropertyValue( "Color", uno::Any( m_xColorScheme->getColorByIndex( nPointIndex ))); } |