[Libreoffice-commits] core.git: connectivity/source

Caolán McNamara caolanm at redhat.com
Wed Nov 11 09:22:39 PST 2015


 connectivity/source/drivers/flat/EConnection.cxx |    2 +-
 connectivity/source/inc/flat/EConnection.hxx     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a201f0cc675ea5b5b1ef71d6cef7ea7ef4e74923
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Nov 11 17:22:06 2015 +0000

    coverity#1338603 Uncaught exception
    
    Change-Id: I8aa233446f1bc8cc94332830d7b1813f1674202b

diff --git a/connectivity/source/drivers/flat/EConnection.cxx b/connectivity/source/drivers/flat/EConnection.cxx
index 9c04ae0..1d1d196 100644
--- a/connectivity/source/drivers/flat/EConnection.cxx
+++ b/connectivity/source/drivers/flat/EConnection.cxx
@@ -60,7 +60,7 @@ IMPLEMENT_SERVICE_INFO(OFlatConnection, "com.sun.star.sdbc.drivers.flat.Connecti
 
 
 void OFlatConnection::construct(const OUString& url,const Sequence< PropertyValue >& info)
-    throw(css::sdbc::SQLException, css::uno::RuntimeException)
+    throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception)
 {
     osl_atomic_increment( &m_refCount );
 
diff --git a/connectivity/source/inc/flat/EConnection.hxx b/connectivity/source/inc/flat/EConnection.hxx
index 0112e04..0e84b72 100644
--- a/connectivity/source/inc/flat/EConnection.hxx
+++ b/connectivity/source/inc/flat/EConnection.hxx
@@ -40,7 +40,7 @@ namespace connectivity
             OFlatConnection(ODriver*    _pDriver);
             virtual ~OFlatConnection();
 
-            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) override;
+            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, std::exception) override;
 
             // own methods
             inline bool     isHeaderLine()          const { return m_bHeaderLine;       }


More information about the Libreoffice-commits mailing list