summaryrefslogtreecommitdiff
path: root/ucbhelper/source/provider/configureucb.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucbhelper/source/provider/configureucb.cxx')
-rw-r--r--ucbhelper/source/provider/configureucb.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/ucbhelper/source/provider/configureucb.cxx b/ucbhelper/source/provider/configureucb.cxx
index 2b858d614c78..ae30c6b5b350 100644
--- a/ucbhelper/source/provider/configureucb.cxx
+++ b/ucbhelper/source/provider/configureucb.cxx
@@ -174,14 +174,14 @@ configureUcb(
if (rArguments.getLength() < 2
|| !(rArguments[0] >>= aKey1) || !(rArguments[1] >>= aKey2))
{
- OSL_ENSURE(false, "ucb::configureUcb(): Bad arguments");
+ OSL_FAIL("ucb::configureUcb(): Bad arguments");
return false;
}
ContentProviderDataList aData;
if (!getContentProviderData(rServiceFactory, aKey1, aKey2, aData))
{
- OSL_ENSURE(false, "ucb::configureUcb(): No configuration");
+ OSL_FAIL("ucb::configureUcb(): No configuration");
return false;
}
@@ -207,8 +207,7 @@ configureUcb(
pInfos->push_back(aInfo);
}
else
- OSL_ENSURE(false,
- "ucb::configureUcb(): Bad argument placeholders");
+ OSL_FAIL("ucb::configureUcb(): Bad argument placeholders");
}
return true;