From 1848de2f4cce84862cf0843e15f38ce5d1f26108 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 12 Mar 2011 14:27:45 +0100 Subject: Move OSL_ENSURE(false,...) to OSL_FAIL(...) --- ucb/source/ucp/ext/ucpext_content.cxx | 6 +++--- ucb/source/ucp/ext/ucpext_datasupplier.cxx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'ucb/source/ucp/ext') diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx index b83aa4f7b455..1ed589387280 100644 --- a/ucb/source/ucp/ext/ucpext_content.cxx +++ b/ucb/source/ucp/ext/ucpext_content.cxx @@ -385,7 +385,7 @@ namespace ucb { namespace ucp { namespace ext } default: - OSL_ENSURE( false, "Content::getParentURL: unhandled case!" ); + OSL_FAIL( "Content::getParentURL: unhandled case!" ); break; } return ::rtl::OUString(); @@ -514,11 +514,11 @@ namespace ucb { namespace ucp { namespace ext } default: - OSL_ENSURE( false, "Content::getPropertyValues: unhandled case!" ); + OSL_FAIL( "Content::getPropertyValues: unhandled case!" ); break; } - OSL_ENSURE( false, "Content::getPropertyValues: unreachable!" ); + OSL_FAIL( "Content::getPropertyValues: unreachable!" ); return NULL; } diff --git a/ucb/source/ucp/ext/ucpext_datasupplier.cxx b/ucb/source/ucp/ext/ucpext_datasupplier.cxx index 60b1ff72a4b3..8c40411a8c71 100644 --- a/ucb/source/ucp/ext/ucpext_datasupplier.cxx +++ b/ucb/source/ucp/ext/ucpext_datasupplier.cxx @@ -194,7 +194,7 @@ namespace ucb { namespace ucp { namespace ext } break; default: - OSL_ENSURE( false, "DataSupplier::fetchData: unimplemented content type!" ); + OSL_FAIL( "DataSupplier::fetchData: unimplemented content type!" ); break; } } @@ -221,7 +221,7 @@ namespace ucb { namespace ucp { namespace ext return sId; } - OSL_ENSURE( false, "DataSupplier::queryContentIdentifierString: illegal index, or illegal result entry id!" ); + OSL_FAIL( "DataSupplier::queryContentIdentifierString: illegal index, or illegal result entry id!" ); return ::rtl::OUString(); } @@ -344,7 +344,7 @@ namespace ucb { namespace ucp { namespace ext } break; default: - OSL_ENSURE( false, "DataSupplier::queryPropertyValues: unhandled case!" ); + OSL_FAIL( "DataSupplier::queryPropertyValues: unhandled case!" ); break; } -- cgit