summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/drivers/flat/EConnection.cxx3
-rw-r--r--connectivity/source/inc/flat/EConnection.hxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/connectivity/source/drivers/flat/EConnection.cxx b/connectivity/source/drivers/flat/EConnection.cxx
index 3f3982053b3e..03bb821ff844 100644
--- a/connectivity/source/drivers/flat/EConnection.cxx
+++ b/connectivity/source/drivers/flat/EConnection.cxx
@@ -59,7 +59,8 @@ OFlatConnection::~OFlatConnection()
IMPLEMENT_SERVICE_INFO(OFlatConnection, "com.sun.star.sdbc.drivers.flat.Connection", "com.sun.star.sdbc.Connection")
-void OFlatConnection::construct(const OUString& url,const Sequence< PropertyValue >& info) throw(SQLException)
+void OFlatConnection::construct(const OUString& url,const Sequence< PropertyValue >& info)
+ throw(css::sdbc::SQLException, css::uno::RuntimeException)
{
osl_atomic_increment( &m_refCount );
diff --git a/connectivity/source/inc/flat/EConnection.hxx b/connectivity/source/inc/flat/EConnection.hxx
index 6b7fa29e9225..ac5f451e8cf0 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( ::com::sun::star::sdbc::SQLException) SAL_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) SAL_OVERRIDE;
// own methods
inline bool isHeaderLine() const { return m_bHeaderLine; }