diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 11:27:59 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 14:05:06 +0100 |
commit | 7a7f390db3656b976a5c9fc8d081d5e3c60582e8 (patch) | |
tree | 3db070da58fcf207c7fea9647de2dd9ef9400970 /reportdesign | |
parent | 4882ec6c95c249cd181e71714ffe1f2cb6b85608 (diff) |
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/core/misc/conditionalexpression.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/core/misc/reportformula.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/core/sdr/formatnormalizer.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/reportdesign/source/core/misc/conditionalexpression.cxx b/reportdesign/source/core/misc/conditionalexpression.cxx index cd942b522c30..1c2d88a546d2 100644 --- a/reportdesign/source/core/misc/conditionalexpression.cxx +++ b/reportdesign/source/core/misc/conditionalexpression.cxx @@ -67,7 +67,7 @@ namespace rptui if ( pReplace == NULL ) { - OSL_ENSURE( false, "ConditionalExpression::assembleExpression: illegal pattern!" ); + OSL_FAIL( "ConditionalExpression::assembleExpression: illegal pattern!" ); break; } diff --git a/reportdesign/source/core/misc/reportformula.cxx b/reportdesign/source/core/misc/reportformula.cxx index cd101b0a3be0..635138902d00 100644 --- a/reportdesign/source/core/misc/reportformula.cxx +++ b/reportdesign/source/core/misc/reportformula.cxx @@ -99,7 +99,7 @@ namespace rptui } break; default: - OSL_ENSURE( false, "ReportFormula::ReportFormula: illegal bind type!" ); + OSL_FAIL( "ReportFormula::ReportFormula: illegal bind type!" ); return; } diff --git a/reportdesign/source/core/sdr/formatnormalizer.cxx b/reportdesign/source/core/sdr/formatnormalizer.cxx index 089456ce488d..b7bf61f6ed00 100644 --- a/reportdesign/source/core/sdr/formatnormalizer.cxx +++ b/reportdesign/source/core/sdr/formatnormalizer.cxx @@ -247,7 +247,7 @@ namespace rptui if ( sDataField.getStr()[ sDataField.getLength() - 1 ] != ']' ) { // last character is not the closing brace - OSL_ENSURE( false, "FormatNormalizer::impl_adjustFormatToDataFieldType_nothrow: suspicious data field value!" ); + OSL_FAIL( "FormatNormalizer::impl_adjustFormatToDataFieldType_nothrow: suspicious data field value!" ); return; } sDataField = sDataField.copy( sFieldPrefix.getLength(), sDataField.getLength() - sFieldPrefix.getLength() - 1 ); |