summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 12:14:02 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-12 14:19:49 +0100
commit7f656740d865bcdf77a49a41d47aedf401a80795 (patch)
tree146474539a8caa50fb1be8028a2cedce91b9f2fd /bridges
parentadc6fe00e3ef3cca5bbd49a4633181856bf111df (diff)
Move OSL_ENSURE(0,...) to OSL_FAIL(...)
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/jni_uno/jni_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/jni_uno/jni_base.h b/bridges/source/jni_uno/jni_base.h
index d2130292b4b1..cc23cd1b2a8f 100644
--- a/bridges/source/jni_uno/jni_base.h
+++ b/bridges/source/jni_uno/jni_base.h
@@ -127,7 +127,7 @@ inline bool JNI_context::assert_no_exception() const
if (JNI_FALSE != m_env->ExceptionCheck())
{
m_env->ExceptionClear();
- OSL_ENSURE( 0, "unexpected java exception occurred!" );
+ OSL_FAIL( "unexpected java exception occurred!" );
return false;
}
return true;