diff options
Diffstat (limited to 'connectivity/source/drivers/hsqldb/HStorageMap.cxx')
-rw-r--r-- | connectivity/source/drivers/hsqldb/HStorageMap.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/hsqldb/HStorageMap.cxx b/connectivity/source/drivers/hsqldb/HStorageMap.cxx index 8e30cfe3697c..64566b136e0e 100644 --- a/connectivity/source/drivers/hsqldb/HStorageMap.cxx +++ b/connectivity/source/drivers/hsqldb/HStorageMap.cxx @@ -139,7 +139,7 @@ namespace connectivity OUString StorageContainer::jstring2ustring(JNIEnv * env, jstring jstr) { - if (JNI_FALSE != env->ExceptionCheck()) + if (env->ExceptionCheck()) { env->ExceptionClear(); OSL_FAIL("ExceptionClear"); @@ -156,7 +156,7 @@ namespace connectivity env->ReleaseStringChars(jstr,pChar); } - if (JNI_FALSE != env->ExceptionCheck()) + if (env->ExceptionCheck()) { env->ExceptionClear(); OSL_FAIL("ExceptionClear"); @@ -334,7 +334,7 @@ namespace connectivity void StorageContainer::throwJavaException(const Exception& _aException,JNIEnv * env) { - if (JNI_FALSE != env->ExceptionCheck()) + if (env->ExceptionCheck()) env->ExceptionClear(); OString cstr( OUStringToOString(_aException.Message, RTL_TEXTENCODING_JAVA_UTF8 ) ); OSL_TRACE( __FILE__": forwarding Exception: %s", cstr.getStr() ); |