diff options
Diffstat (limited to 'chart2/source/model/main')
-rw-r--r-- | chart2/source/model/main/Axis.cxx | 2 | ||||
-rw-r--r-- | chart2/source/model/main/ChartModel.cxx | 2 | ||||
-rw-r--r-- | chart2/source/model/main/ChartModel_Persistence.cxx | 4 | ||||
-rw-r--r-- | chart2/source/model/main/Diagram.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/model/main/Axis.cxx b/chart2/source/model/main/Axis.cxx index 2920f7316f1a..e9b8c8c37ffe 100644 --- a/chart2/source/model/main/Axis.cxx +++ b/chart2/source/model/main/Axis.cxx @@ -463,7 +463,7 @@ Sequence< Reference< beans::XPropertySet > > SAL_CALL Axis::getSubGridProperties Sequence< Reference< beans::XPropertySet > > SAL_CALL Axis::getSubTickProperties() throw (uno::RuntimeException) { - OSL_ENSURE( false, "Not implemented yet" ); + OSL_FAIL( "Not implemented yet" ); return Sequence< Reference< beans::XPropertySet > >(); } diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index 5bb4a5ed27db..8d99d87ce76b 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -1034,7 +1034,7 @@ void SAL_CALL ChartModel::setVisualAreaSize( ::sal_Int64 nAspect, const awt::Siz } else { - OSL_ENSURE( false, "setVisualAreaSize: Aspect not implemented yet."); + OSL_FAIL( "setVisualAreaSize: Aspect not implemented yet."); } } diff --git a/chart2/source/model/main/ChartModel_Persistence.cxx b/chart2/source/model/main/ChartModel_Persistence.cxx index a7943bc76cd4..b1cbbd0d3db8 100644 --- a/chart2/source/model/main/ChartModel_Persistence.cxx +++ b/chart2/source/model/main/ChartModel_Persistence.cxx @@ -374,7 +374,7 @@ void ChartModel::impl_store( } else { - OSL_ENSURE( false, "No filter" ); + OSL_FAIL( "No filter" ); } setModified( sal_False ); @@ -605,7 +605,7 @@ void ChartModel::impl_load( } else { - OSL_ENSURE( false, "loadFromStorage cannot create filter" ); + OSL_FAIL( "loadFromStorage cannot create filter" ); } if( xStorage.is() ) diff --git a/chart2/source/model/main/Diagram.cxx b/chart2/source/model/main/Diagram.cxx index 00ec27e5ff5e..c9f7b985d625 100644 --- a/chart2/source/model/main/Diagram.cxx +++ b/chart2/source/model/main/Diagram.cxx @@ -456,7 +456,7 @@ void SAL_CALL Diagram::addCoordinateSystem( if( m_aCoordSystems.size()>=1 ) { - OSL_ENSURE( false, "more than one coordinatesystem is not supported yet by the fileformat" ); + OSL_FAIL( "more than one coordinatesystem is not supported yet by the fileformat" ); return; } m_aCoordSystems.push_back( aCoordSys ); |