diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-22 21:07:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-23 08:54:37 +0100 |
commit | a97cd4dd3bf43847363fe646fb2eb5a34d0d07a0 (patch) | |
tree | c18e24a39ea5da2eab9131806fdcbab4b9734ae7 /dbaccess | |
parent | 787d41c26d80b01b63c4f65003891f46116bbc29 (diff) |
coverity#1215312 Uncaught exception
Change-Id: I844561cc6f858b6aed55caaf0d92529486cb486e
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/inc/TableController.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/tabledesign/TableController.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/inc/TableController.hxx b/dbaccess/source/ui/inc/TableController.hxx index 3278a7905a34..bf1ee72a8e0e 100644 --- a/dbaccess/source/ui/inc/TableController.hxx +++ b/dbaccess/source/ui/inc/TableController.hxx @@ -58,7 +58,7 @@ namespace dbaui void reSyncRows(); void assignTable(); // set the table if a name is given void loadData(); - bool checkColumns(bool _bNew) throw(::com::sun::star::sdbc::SQLException); // check if we have double column names + bool checkColumns(bool _bNew) throw(css::sdbc::SQLException, std::exception); // check if we have double column names OUString createUniqueName(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess>& _rxTables,const OUString& _rDefault); void appendColumns(::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XColumnsSupplier>& _rxColSup, bool _bNew, bool _bKeyColumns = false); void appendPrimaryKey(::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XKeysSupplier>& _rxSup, bool _bNew); diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx index e27c91aa36d4..27d3757f06a0 100644 --- a/dbaccess/source/ui/tabledesign/TableController.cxx +++ b/dbaccess/source/ui/tabledesign/TableController.cxx @@ -919,7 +919,7 @@ Reference<XNameAccess> OTableController::getKeyColumns() const return getPrimaryKeyColumns_throw(m_xTable); } -bool OTableController::checkColumns(bool _bNew) throw(::com::sun::star::sdbc::SQLException) +bool OTableController::checkColumns(bool _bNew) throw(css::sdbc::SQLException, std::exception) { bool bOk = true; bool bFoundPKey = false; |