summaryrefslogtreecommitdiff
path: root/cppuhelper/source/propshlp.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-19 14:12:37 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-19 14:12:37 +0100
commit5a7f6793ac227c348198ae5958db5951214ec8d2 (patch)
tree25610ad164b4f66d705aecf6ea6c3ee72809c7e3 /cppuhelper/source/propshlp.cxx
parent1fa55878d9a8e0ce48501ad82fb537dc9c29855a (diff)
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'cppuhelper/source/propshlp.cxx')
-rw-r--r--cppuhelper/source/propshlp.cxx4
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;
}