diff options
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; |