diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-29 08:58:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-29 09:43:30 +0100 |
commit | 6a151630e3084df42979d5c3b8083fef55449230 (patch) | |
tree | 55be39e92d066c2f10aec0d8ff6ef184dd2eec4b /connectivity/source/drivers | |
parent | cdc94a0e32a7295cfe939c1b83a95d3412e2a9ee (diff) |
coverity#1308601 Uncaught exception
Change-Id: I231a5b94ded2c936edf84ff7dc59332e628150cd
Diffstat (limited to 'connectivity/source/drivers')
-rw-r--r-- | connectivity/source/drivers/firebird/Driver.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/firebird/Driver.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/firebird/Driver.cxx b/connectivity/source/drivers/firebird/Driver.cxx index 0a65ea9885e5..8e38cbb42eba 100644 --- a/connectivity/source/drivers/firebird/Driver.cxx +++ b/connectivity/source/drivers/firebird/Driver.cxx @@ -49,7 +49,7 @@ namespace connectivity namespace firebird { Reference< XInterface > SAL_CALL FirebirdDriver_CreateInstance( - const Reference< XMultiServiceFactory >& _rxFactory) throw( Exception ) + const Reference< XMultiServiceFactory >& _rxFactory) throw( Exception, std::exception ) { SAL_INFO("connectivity.firebird", "FirebirdDriver_CreateInstance()" ); return *(new FirebirdDriver(comphelper::getComponentContext(_rxFactory))); diff --git a/connectivity/source/drivers/firebird/Driver.hxx b/connectivity/source/drivers/firebird/Driver.hxx index 34bfb97b5655..d01707df8865 100644 --- a/connectivity/source/drivers/firebird/Driver.hxx +++ b/connectivity/source/drivers/firebird/Driver.hxx @@ -38,7 +38,7 @@ namespace connectivity // 3: Is IB6 -- minimum required for delimited identifiers. static const int FIREBIRD_SQL_DIALECT = 3; - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL FirebirdDriver_CreateInstance(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory) throw( ::com::sun::star::uno::Exception ); + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL FirebirdDriver_CreateInstance(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory) throw( ::com::sun::star::uno::Exception, std::exception ); typedef ::cppu::WeakComponentImplHelper3< ::com::sun::star::sdbc::XDriver, ::com::sun::star::sdbcx::XDataDefinitionSupplier, |