summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/expand
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 12:08:22 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-13 16:50:43 +0100
commit6495f3945ec0dd4cef37b8dfd5217562de4a3269 (patch)
tree8547adeed9ab7d2452d7efbe0c5cad284930695f /ucb/source/ucp/expand
parent1f6580e985d5c3aa0f3161dd884e71a673e7a0b1 (diff)
Move OSL_ENSURE(0,...) to OSL_FAIL(...)
Diffstat (limited to 'ucb/source/ucp/expand')
-rw-r--r--ucb/source/ucp/expand/ucpexpand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/expand/ucpexpand.cxx b/ucb/source/ucp/expand/ucpexpand.cxx
index 29f73d81672b..81f110c81815 100644
--- a/ucb/source/ucp/expand/ucpexpand.cxx
+++ b/ucb/source/ucp/expand/ucpexpand.cxx
@@ -244,8 +244,8 @@ sal_Int32 ExpandContentProviderImpl::compareContentIds(
catch (ucb::IllegalIdentifierException & exc)
{
(void) exc; // unused
- OSL_ENSURE(
- 0, ::rtl::OUStringToOString(
+ OSL_FAIL(
+ ::rtl::OUStringToOString(
exc.Message, RTL_TEXTENCODING_UTF8 ).getStr() );
return -1;
}