diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 09:34:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 12:15:52 +0000 |
commit | 8a6d8f11f8411f156f8a281d44241760dbca2f5f (patch) | |
tree | c7d58d44864ab9c81106d4e65fc1114ffe952993 /connectivity | |
parent | 4cf1ebd1b2ebad53a57d788bc4766a12aa51ad8e (diff) |
coverity#1338248 Uncaught exception
Change-Id: I708e77b2745de8eb5b85cd05d0694cda18a84866
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/calc/CConnection.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/file/FConnection.cxx | 3 | ||||
-rw-r--r-- | connectivity/source/inc/calc/CConnection.hxx | 3 | ||||
-rw-r--r-- | connectivity/source/inc/file/FConnection.hxx | 3 |
4 files changed, 7 insertions, 4 deletions
diff --git a/connectivity/source/drivers/calc/CConnection.cxx b/connectivity/source/drivers/calc/CConnection.cxx index 245aefcf9a1c..40270cba361d 100644 --- a/connectivity/source/drivers/calc/CConnection.cxx +++ b/connectivity/source/drivers/calc/CConnection.cxx @@ -63,7 +63,7 @@ OCalcConnection::~OCalcConnection() } void OCalcConnection::construct(const OUString& url,const Sequence< PropertyValue >& info) - throw(SQLException, RuntimeException, DeploymentException) + throw(SQLException, RuntimeException, DeploymentException, std::exception) { // open file diff --git a/connectivity/source/drivers/file/FConnection.cxx b/connectivity/source/drivers/file/FConnection.cxx index 92a1a3abb844..370588aae874 100644 --- a/connectivity/source/drivers/file/FConnection.cxx +++ b/connectivity/source/drivers/file/FConnection.cxx @@ -96,7 +96,8 @@ bool OConnection::matchesExtension( const OUString& _rExt ) const void OConnection::construct(const OUString& url,const Sequence< PropertyValue >& info) throw( css::sdbc::SQLException, css::uno::RuntimeException, - css::uno::DeploymentException) + css::uno::DeploymentException, + std::exception) { osl_atomic_increment( &m_refCount ); diff --git a/connectivity/source/inc/calc/CConnection.hxx b/connectivity/source/inc/calc/CConnection.hxx index 1ee2e211de33..854a9f74481c 100644 --- a/connectivity/source/inc/calc/CConnection.hxx +++ b/connectivity/source/inc/calc/CConnection.hxx @@ -53,7 +53,8 @@ namespace connectivity const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _rInfo ) throw( css::sdbc::SQLException, css::uno::RuntimeException, - css::uno::DeploymentException) override; + css::uno::DeploymentException, + std::exception) override; // XServiceInfo DECLARE_SERVICE_INFO(); diff --git a/connectivity/source/inc/file/FConnection.hxx b/connectivity/source/inc/file/FConnection.hxx index a64eddb47667..034dbb4cb40b 100644 --- a/connectivity/source/inc/file/FConnection.hxx +++ b/connectivity/source/inc/file/FConnection.hxx @@ -81,7 +81,8 @@ namespace connectivity virtual void construct(const OUString& _rUrl, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _rInfo ) throw( css::sdbc::SQLException, css::uno::RuntimeException, - css::uno::DeploymentException); + css::uno::DeploymentException, + std::exception); // OComponentHelper virtual void SAL_CALL disposing() override; |