summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-28 16:38:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 17:55:48 +0100
commit5d6091da85c526bb82e5504b552ab30be0ac4b0e (patch)
tree44e175361e2229dfaa6584347ddf5d0421b987d7 /dbaccess
parent9e8e75db96a5f4e2aa5fb11b5c28ba7edfcd97dc (diff)
coverity#1308510 Uncaught exception
Change-Id: I6734b2953e9a262e7661782c92318f54e14181eb
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/control/tabletree.cxx2
-rw-r--r--dbaccess/source/ui/inc/tabletree.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx
index 61db99b8ad3b..ed0083b5b56b 100644
--- a/dbaccess/source/ui/control/tabletree.cxx
+++ b/dbaccess/source/ui/control/tabletree.cxx
@@ -143,7 +143,7 @@ void OTableTreeListBox::implOnNewConnection( const Reference< XConnection >& _rx
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;
diff --git a/dbaccess/source/ui/inc/tabletree.hxx b/dbaccess/source/ui/inc/tabletree.hxx
index 7501dd21435f..a8afc9c2e39e 100644
--- a/dbaccess/source/ui/inc/tabletree.hxx
+++ b/dbaccess/source/ui/inc/tabletree.hxx
@@ -78,7 +78,7 @@ public:
*/
void UpdateTableList(
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.
The views sequence is used to determine which table is of type view.