summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/package/pkgdatasupplier.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-19 14:09:49 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-19 14:09:49 +0100
commit970be45287de1a046df1c546abb06ad5f6b9c084 (patch)
tree0a88a771e96b5e9d884e5b087adad9d320bdbe7b /ucb/source/ucp/package/pkgdatasupplier.cxx
parente35cffb37a792b78f8dbcd85b329fa88097b1ea5 (diff)
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
Diffstat (limited to 'ucb/source/ucp/package/pkgdatasupplier.cxx')
-rwxr-xr-xucb/source/ucp/package/pkgdatasupplier.cxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/ucb/source/ucp/package/pkgdatasupplier.cxx b/ucb/source/ucp/package/pkgdatasupplier.cxx
index d403626ba061..589fd28b1610 100755
--- a/ucb/source/ucp/package/pkgdatasupplier.cxx
+++ b/ucb/source/ucp/package/pkgdatasupplier.cxx
@@ -265,8 +265,7 @@ sal_Bool DataSupplier::getResult( sal_uInt32 nIndex )
if ( !xNamed.is() )
{
- OSL_ENSURE( sal_False,
- "DataSupplier::getResult - Got no XNamed!" );
+ OSL_FAIL( "DataSupplier::getResult - Got no XNamed!" );
break;
}
@@ -274,8 +273,7 @@ sal_Bool DataSupplier::getResult( sal_uInt32 nIndex )
if ( !aName.getLength() )
{
- OSL_ENSURE( sal_False,
- "DataSupplier::getResult - Empty name!" );
+ OSL_FAIL( "DataSupplier::getResult - Empty name!" );
break;
}
@@ -345,8 +343,7 @@ sal_uInt32 DataSupplier::totalCount()
if ( !xNamed.is() )
{
- OSL_ENSURE( sal_False,
- "DataSupplier::getResult - Got no XNamed!" );
+ OSL_FAIL( "DataSupplier::getResult - Got no XNamed!" );
break;
}
@@ -354,8 +351,7 @@ sal_uInt32 DataSupplier::totalCount()
if ( !aName.getLength() )
{
- OSL_ENSURE( sal_False,
- "DataSupplier::getResult - Empty name!" );
+ OSL_FAIL( "DataSupplier::getResult - Empty name!" );
break;
}