summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-13 10:09:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-14 09:16:39 +0100
commitcc70cff83af25574909b19112b3e67136cffb817 (patch)
treeb26e82ed67b804ae7134dd4141a19efa3b3c7e09 /connectivity
parentada3817a3334a1e8694f54bb813eee7ffb8b36d7 (diff)
coverity#706327 Uncaught exception
Change-Id: I3a84a212abfcf0668b7040c8fa537ad62aaf5224
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/jdbc/Reader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/jdbc/Reader.cxx b/connectivity/source/drivers/jdbc/Reader.cxx
index b88e3b9dbabe..3907da727d48 100644
--- a/connectivity/source/drivers/jdbc/Reader.cxx
+++ b/connectivity/source/drivers/jdbc/Reader.cxx
@@ -75,7 +75,7 @@ sal_Int32 SAL_CALL java_io_Reader::available( ) throw(::com::sun::star::io::Not
void SAL_CALL java_io_Reader::closeInput( ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception)
{
static jmethodID mID(NULL);
- callVoidMethod_Throw("close", mID);
+ callVoidMethod_Nothrow("close", mID);
}
sal_Int32 SAL_CALL java_io_Reader::readBytes( ::com::sun::star::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception)