diff options
Diffstat (limited to 'chart2/source/view/main')
-rw-r--r-- | chart2/source/view/main/ChartView.cxx | 10 | ||||
-rw-r--r-- | chart2/source/view/main/Clipping.cxx | 2 |
2 files changed, 6 insertions, 6 deletions
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; } |