summaryrefslogtreecommitdiff
path: root/cppuhelper/source/component.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/component.cxx')
-rw-r--r--cppuhelper/source/component.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/component.cxx b/cppuhelper/source/component.cxx
index ffafbe5bcbeb..c74d3894e642 100644
--- a/cppuhelper/source/component.cxx
+++ b/cppuhelper/source/component.cxx
@@ -106,7 +106,7 @@ void OComponentHelper::release() throw()
// release should not throw exceptions
#if OSL_DEBUG_LEVEL > 0
OString msg( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) );
- OSL_ENSURE( 0, msg.getStr() );
+ OSL_FAIL( msg.getStr() );
#else
(void) exc; // avoid warning about unused variable
#endif