Kaydet (Commit) 6a151630 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1308601 Uncaught exception

Change-Id: I231a5b94ded2c936edf84ff7dc59332e628150cd
üst cdc94a0e
...@@ -49,7 +49,7 @@ namespace connectivity ...@@ -49,7 +49,7 @@ namespace connectivity
namespace firebird namespace firebird
{ {
Reference< XInterface > SAL_CALL FirebirdDriver_CreateInstance( 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()" ); SAL_INFO("connectivity.firebird", "FirebirdDriver_CreateInstance()" );
return *(new FirebirdDriver(comphelper::getComponentContext(_rxFactory))); return *(new FirebirdDriver(comphelper::getComponentContext(_rxFactory)));
......
...@@ -38,7 +38,7 @@ namespace connectivity ...@@ -38,7 +38,7 @@ namespace connectivity
// 3: Is IB6 -- minimum required for delimited identifiers. // 3: Is IB6 -- minimum required for delimited identifiers.
static const int FIREBIRD_SQL_DIALECT = 3; 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, typedef ::cppu::WeakComponentImplHelper3< ::com::sun::star::sdbc::XDriver,
::com::sun::star::sdbcx::XDataDefinitionSupplier, ::com::sun::star::sdbcx::XDataDefinitionSupplier,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment