diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 11:28:41 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-13 16:44:11 +0100 |
commit | fd3ae880bc267446dc27adf678801ae99a885fe3 (patch) | |
tree | ec4367afb2fdf43ec6332d0aa4cf1dcec0d30a9b /chart2/source/controller/dialogs/tp_RangeChooser.cxx | |
parent | adab3341788f4e51e075c469f925959d865b1769 (diff) |
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'chart2/source/controller/dialogs/tp_RangeChooser.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/tp_RangeChooser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/tp_RangeChooser.cxx b/chart2/source/controller/dialogs/tp_RangeChooser.cxx index 083dd668a1ff..ee2ff7047285 100644 --- a/chart2/source/controller/dialogs/tp_RangeChooser.cxx +++ b/chart2/source/controller/dialogs/tp_RangeChooser.cxx @@ -246,7 +246,7 @@ void RangeChooserTabPage::changeDialogModelAccordingToControls() m_xCurrentChartTypeTemplate.set( m_pTemplateProvider->getCurrentTemplate()); if( !m_xCurrentChartTypeTemplate.is()) { - OSL_ENSURE( false, "Need a template to change data source" ); + OSL_FAIL( "Need a template to change data source" ); return; } } |