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

coverity#1308510 Uncaught exception

Change-Id: I6734b2953e9a262e7661782c92318f54e14181eb
üst 9e8e75db
...@@ -143,7 +143,7 @@ void OTableTreeListBox::implOnNewConnection( const Reference< XConnection >& _rx ...@@ -143,7 +143,7 @@ void OTableTreeListBox::implOnNewConnection( const Reference< XConnection >& _rx
m_xImageProvider.reset( new ImageProvider( m_xConnection ) ); m_xImageProvider.reset( new ImageProvider( m_xConnection ) );
} }
void OTableTreeListBox::UpdateTableList( const Reference< XConnection >& _rxConnection ) throw(SQLException) void OTableTreeListBox::UpdateTableList( const Reference< XConnection >& _rxConnection ) throw(SQLException, std::exception)
{ {
Sequence< OUString > sTables, sViews; Sequence< OUString > sTables, sViews;
......
...@@ -78,7 +78,7 @@ public: ...@@ -78,7 +78,7 @@ public:
*/ */
void UpdateTableList( void UpdateTableList(
const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxConnection const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxConnection
) throw(::com::sun::star::sdbc::SQLException); ) throw(::com::sun::star::sdbc::SQLException, std::exception);
/** fill the table list with the tables and views determined by the two given containers. /** fill the table list with the tables and views determined by the two given containers.
The views sequence is used to determine which table is of type view. The views sequence is used to determine which table is of type view.
......
...@@ -604,7 +604,7 @@ uno::Sequence<sal_Int8> SAL_CALL ScAccessiblePreviewTable::getImplementationId() ...@@ -604,7 +604,7 @@ uno::Sequence<sal_Int8> SAL_CALL ScAccessiblePreviewTable::getImplementationId()
//==== internal ========================================================= //==== internal =========================================================
OUString SAL_CALL ScAccessiblePreviewTable::createAccessibleDescription() OUString SAL_CALL ScAccessiblePreviewTable::createAccessibleDescription()
throw (uno::RuntimeException) throw (uno::RuntimeException, std::exception)
{ {
OUString sDesc(ScResId(STR_ACC_TABLE_DESCR)); OUString sDesc(ScResId(STR_ACC_TABLE_DESCR));
return sDesc; return sDesc;
......
...@@ -170,7 +170,7 @@ public: ...@@ -170,7 +170,7 @@ public:
void SetCurrentIndexInParent(sal_Int32 nNew) { mnIndex = nNew; } void SetCurrentIndexInParent(sal_Int32 nNew) { mnIndex = nNew; }
protected: protected:
virtual OUString SAL_CALL createAccessibleDescription() throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; virtual OUString SAL_CALL createAccessibleDescription() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual OUString SAL_CALL createAccessibleName() virtual OUString SAL_CALL createAccessibleName()
throw (::com::sun::star::uno::RuntimeException, throw (::com::sun::star::uno::RuntimeException,
std::exception) SAL_OVERRIDE; std::exception) SAL_OVERRIDE;
......
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