From 5a7f6793ac227c348198ae5958db5951214ec8d2 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 19 Mar 2011 14:12:37 +0100 Subject: Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...) --- cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx | 2 +- cppu/source/typelib/typelib.cxx | 2 +- cppu/source/uno/destr.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'cppu/source') diff --git a/cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx b/cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx index d3f4339a885a..1240df313f57 100644 --- a/cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx +++ b/cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx @@ -172,7 +172,7 @@ extern "C" { static void SAL_CALL s_Proxy_dispatch( break; } default: - OSL_ENSURE( sal_False, "### illegal member typeclass!" ); + OSL_FAIL( "### illegal member typeclass!" ); abort(); } diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx index 0c62eecaafb8..747f012ace45 100644 --- a/cppu/source/typelib/typelib.cxx +++ b/cppu/source/typelib/typelib.cxx @@ -1986,7 +1986,7 @@ extern "C" sal_Int32 SAL_CALL typelib_typedescription_getAlignedUnoSize( case typelib_TypeClass_SERVICE: case typelib_TypeClass_MODULE: default: - OSL_ENSURE( sal_False, "not convertable type" ); + OSL_FAIL( "not convertable type" ); }; } diff --git a/cppu/source/uno/destr.hxx b/cppu/source/uno/destr.hxx index ce64f2d82e7f..92da095f1ac1 100644 --- a/cppu/source/uno/destr.hxx +++ b/cppu/source/uno/destr.hxx @@ -147,7 +147,7 @@ inline void _destructAny( (typelib_TypeDescriptionReference *)pAny->pReserved ); break; case typelib_TypeClass_ANY: - OSL_ENSURE( sal_False, "### unexpected nested any!" ); + OSL_FAIL( "### unexpected nested any!" ); ::uno_any_destruct( (uno_Any *)pAny->pData, release ); ::rtl_freeMemory( pAny->pData ); break; -- cgit