diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:12:37 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-19 14:12:37 +0100 |
commit | 5a7f6793ac227c348198ae5958db5951214ec8d2 (patch) | |
tree | 25610ad164b4f66d705aecf6ea6c3ee72809c7e3 /cppuhelper/source/propshlp.cxx | |
parent | restore cppunit test, Sequence ctor from sal_Int32 is now explicit (diff) | |
download | core-5a7f6793ac227c348198ae5958db5951214ec8d2.tar.gz core-5a7f6793ac227c348198ae5958db5951214ec8d2.zip |
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'cppuhelper/source/propshlp.cxx')
-rw-r--r-- | cppuhelper/source/propshlp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx index 1305de692890..332439130c84 100644 --- a/cppuhelper/source/propshlp.cxx +++ b/cppuhelper/source/propshlp.cxx @@ -308,7 +308,7 @@ void OPropertySetHelper::addPropertyChangeListener( rPH.fillPropertyMembersByHandle( NULL, &nAttributes, nHandle ); if( !(nAttributes & ::com::sun::star::beans::PropertyAttribute::BOUND) ) { - OSL_ENSURE( sal_False, "add listener to an unbound property" ); + OSL_FAIL( "add listener to an unbound property" ); // silent ignore this return; } @@ -390,7 +390,7 @@ void OPropertySetHelper::addVetoableChangeListener( rPH.fillPropertyMembersByHandle( NULL, &nAttributes, nHandle ); if( !(nAttributes & PropertyAttribute::CONSTRAINED) ) { - OSL_ENSURE( sal_False, "addVetoableChangeListener, and property is not constrained" ); + OSL_FAIL( "addVetoableChangeListener, and property is not constrained" ); // silent ignore this return; } |