diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:06:18 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:06:18 +0100 |
commit | 352f1a58e24c9c3ec45829111a77fa9fbd8065ab (patch) | |
tree | f4d3ec761af697a535fad86c5fec2e045c933d0e /forms/source/runtime | |
parent | 00d5ba291e359368ee484a7c0c43281c22bd3df6 (diff) |
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'forms/source/runtime')
-rw-r--r-- | forms/source/runtime/formoperations.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/forms/source/runtime/formoperations.cxx b/forms/source/runtime/formoperations.cxx index 5bca1a5447a6..c984b9f1d5c6 100644 --- a/forms/source/runtime/formoperations.cxx +++ b/forms/source/runtime/formoperations.cxx @@ -422,13 +422,13 @@ namespace frm break; default: - OSL_ENSURE( sal_False, "FormOperations::getState: unknown feature id!" ); + OSL_FAIL( "FormOperations::getState: unknown feature id!" ); break; } } catch( const Exception& ) { - OSL_ENSURE( sal_False, "FormOperations::getState: caught an exception!" ); + OSL_FAIL( "FormOperations::getState: caught an exception!" ); } return aState; @@ -983,7 +983,7 @@ namespace frm } catch( Exception& ) { - OSL_ENSURE( sal_False, "FormOperations::propertyChange: caught an exception while updating the parser!" ); + OSL_FAIL( "FormOperations::propertyChange: caught an exception while updating the parser!" ); } impl_invalidateAllSupportedFeatures_nothrow( aGuard ); } @@ -1181,7 +1181,7 @@ namespace frm } catch( const Exception& ) { - OSL_ENSURE( sal_False, "FormOperations::impl_ensureInitializedParser_nothrow: caught an exception!" ); + OSL_FAIL( "FormOperations::impl_ensureInitializedParser_nothrow: caught an exception!" ); } m_bInitializedParser = true; @@ -1210,7 +1210,7 @@ namespace frm } catch( const Exception& ) { - OSL_ENSURE( sal_False, "FormOperations::impl_disposeParser_nothrow: caught an exception!" ); + OSL_FAIL( "FormOperations::impl_disposeParser_nothrow: caught an exception!" ); } } @@ -1518,7 +1518,7 @@ namespace frm } catch( const Exception& ) { - OSL_ENSURE( sal_False, "FormOperations::impl_executeAutoSort_throw: caught an exception while setting the parser properties!" ); + OSL_FAIL( "FormOperations::impl_executeAutoSort_throw: caught an exception while setting the parser properties!" ); } @@ -1532,7 +1532,7 @@ namespace frm } catch( const Exception& ) { - OSL_ENSURE( sal_False, "FormOperations::impl_executeAutoSort_throw: could not reset the form to it's original state!" ); + OSL_FAIL( "FormOperations::impl_executeAutoSort_throw: could not reset the form to it's original state!" ); } } @@ -1591,7 +1591,7 @@ namespace frm } catch( const Exception& ) { - OSL_ENSURE( sal_False, "FormOperations::impl_executeAutoFilter_throw: caught an exception while setting the parser properties!" ); + OSL_FAIL( "FormOperations::impl_executeAutoFilter_throw: caught an exception while setting the parser properties!" ); } @@ -1606,7 +1606,7 @@ namespace frm } catch( const Exception& ) { - OSL_ENSURE( sal_False, "FormOperations::impl_executeAutoFilter_throw: could not reset the form to it's original state!" ); + OSL_FAIL( "FormOperations::impl_executeAutoFilter_throw: could not reset the form to it's original state!" ); } } |