Kaydet (Commit) 563e97a0 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Fridrich Štrba

coverity#1213514 Uncaught exception

Change-Id: I475b8c9bdcea120ac7ba24862000a16d9f4127c0
üst cdc5c781
......@@ -58,7 +58,9 @@ namespace dbaui
void reSyncRows();
void assignTable(); // set the table if a name is given
void loadData();
bool checkColumns(bool _bNew) throw(css::sdbc::SQLException, std::exception); // check if we have double column names
bool checkColumns(bool _bNew)
throw (css::sdbc::SQLException,
css::uno::RuntimeException, 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);
......
......@@ -919,7 +919,9 @@ Reference<XNameAccess> OTableController::getKeyColumns() const
return getPrimaryKeyColumns_throw(m_xTable);
}
bool OTableController::checkColumns(bool _bNew) throw(css::sdbc::SQLException, std::exception)
bool OTableController::checkColumns(bool _bNew)
throw(css::sdbc::SQLException,
css::uno::RuntimeException, std::exception)
{
bool bOk = true;
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