diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-13 10:14:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-14 17:13:42 +0100 |
commit | 298f8d6032adceebd6429e4decc8f177835e1c33 (patch) | |
tree | 4333ea0916508da535e926260d376ea72a71a959 /connectivity | |
parent | coverity#1242739 Untrusted loop bound (diff) | |
download | core-298f8d6032adceebd6429e4decc8f177835e1c33.tar.gz core-298f8d6032adceebd6429e4decc8f177835e1c33.zip |
coverity#706320 Uncaught exception
Change-Id: I980e55ab3942c93447573c0af7b7486dfc0a0e10
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/jdbc/InputStream.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/jdbc/InputStream.cxx b/connectivity/source/drivers/jdbc/InputStream.cxx index 5edeaefd3262..41afbe887996 100644 --- a/connectivity/source/drivers/jdbc/InputStream.cxx +++ b/connectivity/source/drivers/jdbc/InputStream.cxx @@ -68,7 +68,7 @@ void SAL_CALL java_io_InputStream::skipBytes( sal_Int32 nBytesToSkip ) throw(::c sal_Int32 SAL_CALL java_io_InputStream::available( ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) { static jmethodID mID(NULL); - return callIntMethod_Throw("available", mID); + return callIntMethod_Nothrow("available", mID); } void SAL_CALL java_io_InputStream::closeInput( ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) |