diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 09:22:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 09:49:01 +0200 |
commit | 79a359fea1885151a77f83e05eee8d2aa97895ab (patch) | |
tree | 0f17ddb1a91c5ffd68c9dfb036b37e3993e5ecc6 /connectivity/source/drivers/hsqldb/HStorageMap.cxx | |
parent | 1cb0b37ad09400138d7c4a5874c02f921e742d37 (diff) |
jboolean-related clean-up
Change-Id: Iecd03d0343b9b7c3a8b23b5a1e9654148b94d44c
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() ); |