From 5a7f6793ac227c348198ae5958db5951214ec8d2 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 19 Mar 2011 14:12:37 +0100 Subject: Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...) --- cppuhelper/source/propshlp.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cppuhelper/source/propshlp.cxx') 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; } -- cgit