From 6495f3945ec0dd4cef37b8dfd5217562de4a3269 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 12 Mar 2011 12:08:22 +0100 Subject: Move OSL_ENSURE(0,...) to OSL_FAIL(...) --- ucb/source/ucp/expand/ucpexpand.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ucb/source/ucp/expand') 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; } -- cgit