Kaydet (Commit) a97cd4dd authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1215312 Uncaught exception

Change-Id: I844561cc6f858b6aed55caaf0d92529486cb486e
üst 787d41c2
...@@ -58,7 +58,7 @@ namespace dbaui ...@@ -58,7 +58,7 @@ namespace dbaui
void reSyncRows(); void reSyncRows();
void assignTable(); // set the table if a name is given void assignTable(); // set the table if a name is given
void loadData(); 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); 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 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); void appendPrimaryKey(::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XKeysSupplier>& _rxSup, bool _bNew);
......
...@@ -919,7 +919,7 @@ Reference<XNameAccess> OTableController::getKeyColumns() const ...@@ -919,7 +919,7 @@ Reference<XNameAccess> OTableController::getKeyColumns() const
return getPrimaryKeyColumns_throw(m_xTable); 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 bOk = true;
bool bFoundPKey = false; bool bFoundPKey = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment