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 | 7a336a2f2889ca48ef1bfec2398d32a96233e9d3 (patch) | |
tree | be45f3cae62dea4a85437047c7d57fec36a701c3 /extensions/source/propctrlr/eformspropertyhandler.cxx | |
parent | 2cb3d4b1f3344678a58d7390c0df5c7d9757f5ab (diff) |
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'extensions/source/propctrlr/eformspropertyhandler.cxx')
-rw-r--r-- | extensions/source/propctrlr/eformspropertyhandler.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/eformspropertyhandler.cxx b/extensions/source/propctrlr/eformspropertyhandler.cxx index 182954ab5..06cce6221 100644 --- a/extensions/source/propctrlr/eformspropertyhandler.cxx +++ b/extensions/source/propctrlr/eformspropertyhandler.cxx @@ -164,7 +164,7 @@ namespace pcr sMessage += "\n(have been asked for the \""; sMessage += ::rtl::OString( _rPropertyName.getStr(), _rPropertyName.getLength(), RTL_TEXTENCODING_ASCII_US ); sMessage += "\" property.)"; - OSL_ENSURE( sal_False, sMessage.getStr() ); + OSL_FAIL( sMessage.getStr() ); #endif } return aReturn; @@ -280,7 +280,7 @@ namespace pcr } catch( const Exception& ) { - OSL_ENSURE( sal_False, "EFormsPropertyHandler::setPropertyValue: caught an exception!" ); + OSL_FAIL( "EFormsPropertyHandler::setPropertyValue: caught an exception!" ); } } @@ -538,7 +538,7 @@ namespace pcr } catch( const Exception& ) { - OSL_ENSURE( sal_False, "EFormsPropertyHandler::onInteractivePropertySelection: caught an exception!" ); + OSL_FAIL( "EFormsPropertyHandler::onInteractivePropertySelection: caught an exception!" ); } // something went wrong here ...(but has been asserted already) |