summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/ScatterChartType.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 11:28:41 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-13 16:44:11 +0100
commitfd3ae880bc267446dc27adf678801ae99a885fe3 (patch)
treeec4367afb2fdf43ec6332d0aa4cf1dcec0d30a9b /chart2/source/model/template/ScatterChartType.cxx
parentadab3341788f4e51e075c469f925959d865b1769 (diff)
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'chart2/source/model/template/ScatterChartType.cxx')
-rw-r--r--chart2/source/model/template/ScatterChartType.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/model/template/ScatterChartType.cxx b/chart2/source/model/template/ScatterChartType.cxx
index 3d7b0fff5f28..260a76cada8b 100644
--- a/chart2/source/model/template/ScatterChartType.cxx
+++ b/chart2/source/model/template/ScatterChartType.cxx
@@ -169,7 +169,7 @@ Reference< chart2::XCoordinateSystem > SAL_CALL
Reference< chart2::XAxis > xAxis( xResult->getAxisByDimension( i, MAIN_AXIS_INDEX ) );
if( !xAxis.is() )
{
- OSL_ENSURE(false,"a created coordinate system should have an axis for each dimension");
+ OSL_FAIL("a created coordinate system should have an axis for each dimension");
continue;
}