diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-03-04 13:49:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-03-04 17:17:27 +0100 |
commit | 9013ee1a00502b891637fe050f1c133b36d6d151 (patch) | |
tree | 21b1cabfa1ff4411f5f8a6200b336e7abc30caff /connectivity | |
parent | 8b4c152a93d75658a2209089a4058daf5f7a5ff2 (diff) |
cid#1500701 silence Dereference after null check
Change-Id: Iccd159c81011863cd664a2903dd14006bdc3b8a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130988
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/hsqldb/HStorageAccess.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/hsqldb/HStorageAccess.cxx b/connectivity/source/drivers/hsqldb/HStorageAccess.cxx index f4f67a8e394a..36ef9f287347 100644 --- a/connectivity/source/drivers/hsqldb/HStorageAccess.cxx +++ b/connectivity/source/drivers/hsqldb/HStorageAccess.cxx @@ -344,7 +344,7 @@ extern "C" SAL_JNI_EXPORT void JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_Nativ Reference< XSeekable> xSeek = pHelper ? pHelper->getSeek() : Reference< XSeekable>(); OSL_ENSURE(xSeek.is(),"No Seekable stream!"); - if ( !xSeek.is() ) + if (!xSeek) return; #ifdef HSQLDB_DBG |