diff options
Diffstat (limited to 'chart2/source/view')
-rw-r--r-- | chart2/source/view/charttypes/VSeriesPlotter.cxx | 4 | ||||
-rw-r--r-- | chart2/source/view/main/ChartView.cxx | 10 | ||||
-rw-r--r-- | chart2/source/view/main/Clipping.cxx | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx index 715ed716099e..258b85c82e83 100644 --- a/chart2/source/view/charttypes/VSeriesPlotter.cxx +++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx @@ -229,7 +229,7 @@ void VSeriesPlotter::addSeries( VDataSeries* pSeries, sal_Int32 zSlot, sal_Int32 { //move all existing series in the xSlot to next slot //@todo - OSL_ENSURE( false, "Not implemented yet"); + OSL_FAIL( "Not implemented yet"); } else if( ySlot == -1 || ySlot >= nYSlotCount) { @@ -242,7 +242,7 @@ void VSeriesPlotter::addSeries( VDataSeries* pSeries, sal_Int32 zSlot, sal_Int32 //insert at given y and x position //@todo - OSL_ENSURE( false, "Not implemented yet"); + OSL_FAIL( "Not implemented yet"); } } } diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 826210b9875a..3940e35bf902 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -2936,7 +2936,7 @@ void SAL_CALL ChartView::update() throw (uno::RuntimeException) Reference< beans::XPropertySetInfo > SAL_CALL ChartView::getPropertySetInfo() throw (uno::RuntimeException) { - OSL_ENSURE(false,"not implemented"); + OSL_FAIL("not implemented"); return 0; } @@ -3012,25 +3012,25 @@ void SAL_CALL ChartView::addPropertyChangeListener( const ::rtl::OUString& /* aPropertyName */, const Reference< beans::XPropertyChangeListener >& /* xListener */ ) throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) { - OSL_ENSURE(false,"not implemented"); + OSL_FAIL("not implemented"); } void SAL_CALL ChartView::removePropertyChangeListener( const ::rtl::OUString& /* aPropertyName */, const Reference< beans::XPropertyChangeListener >& /* aListener */ ) throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) { - OSL_ENSURE(false,"not implemented"); + OSL_FAIL("not implemented"); } void SAL_CALL ChartView::addVetoableChangeListener( const ::rtl::OUString& /* PropertyName */, const Reference< beans::XVetoableChangeListener >& /* aListener */ ) throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) { - OSL_ENSURE(false,"not implemented"); + OSL_FAIL("not implemented"); } void SAL_CALL ChartView::removeVetoableChangeListener( const ::rtl::OUString& /* PropertyName */, const Reference< beans::XVetoableChangeListener >& /* aListener */ ) throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) { - OSL_ENSURE(false,"not implemented"); + OSL_FAIL("not implemented"); } // ____ XMultiServiceFactory ____ diff --git a/chart2/source/view/main/Clipping.cxx b/chart2/source/view/main/Clipping.cxx index d13a6fd13faf..64a07de21c13 100644 --- a/chart2/source/view/main/Clipping.cxx +++ b/chart2/source/view/main/Clipping.cxx @@ -165,7 +165,7 @@ void lcl_addPointToPoly( drawing::PolyPolygonShape3D& rPoly { if(nPolygonIndex<0) { - OSL_ENSURE( false, "The polygon index needs to be > 0"); + OSL_FAIL( "The polygon index needs to be > 0"); nPolygonIndex=0; } |