summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-13 10:14:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-14 17:13:42 +0100
commit298f8d6032adceebd6429e4decc8f177835e1c33 (patch)
tree4333ea0916508da535e926260d376ea72a71a959 /connectivity
parentac68cab1f1e6991bc95fe482f4d9be1538b827c4 (diff)
coverity#706320 Uncaught exception
Change-Id: I980e55ab3942c93447573c0af7b7486dfc0a0e10
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/jdbc/InputStream.cxx2
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)