diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-17 12:21:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-17 16:39:21 +0100 |
commit | f8ce2e049c54bd68e5afa1632b8b43e43695cddc (patch) | |
tree | d0e130fc333b47cecfe4574182bf93dda276698d /dbaccess | |
parent | coverity#983636 Uncaught exception (diff) | |
download | core-f8ce2e049c54bd68e5afa1632b8b43e43695cddc.tar.gz core-f8ce2e049c54bd68e5afa1632b8b43e43695cddc.zip |
coverity#983635 Uncaught exception
Change-Id: I4be3600af6ee97ba9f962edf9723c04d89b161e4
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/sdbtools/connection/datasourcemetadata.cxx | 3 | ||||
-rw-r--r-- | dbaccess/source/sdbtools/connection/datasourcemetadata.hxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/dbaccess/source/sdbtools/connection/datasourcemetadata.cxx b/dbaccess/source/sdbtools/connection/datasourcemetadata.cxx index ee0a6aa40627..c95334ce405e 100644 --- a/dbaccess/source/sdbtools/connection/datasourcemetadata.cxx +++ b/dbaccess/source/sdbtools/connection/datasourcemetadata.cxx @@ -29,6 +29,7 @@ namespace sdbtools using ::com::sun::star::uno::Reference; using ::com::sun::star::sdbc::XConnection; using ::com::sun::star::lang::NullPointerException; + using ::com::sun::star::sdbc::SQLException; using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::uno::XComponentContext; @@ -51,7 +52,7 @@ namespace sdbtools { } - sal_Bool SAL_CALL DataSourceMetaData::supportsQueriesInFrom( ) throw (RuntimeException, std::exception) + sal_Bool SAL_CALL DataSourceMetaData::supportsQueriesInFrom( ) throw (RuntimeException, SQLException, std::exception) { EntryGuard aGuard( *this ); ::dbtools::DatabaseMetaData aMeta( getConnection() ); diff --git a/dbaccess/source/sdbtools/connection/datasourcemetadata.hxx b/dbaccess/source/sdbtools/connection/datasourcemetadata.hxx index 5a454efccba5..67e58ec8e11d 100644 --- a/dbaccess/source/sdbtools/connection/datasourcemetadata.hxx +++ b/dbaccess/source/sdbtools/connection/datasourcemetadata.hxx @@ -58,7 +58,7 @@ namespace sdbtools ); // XDataSourceMetaData - virtual sal_Bool SAL_CALL supportsQueriesInFrom( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL supportsQueriesInFrom() throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: virtual ~DataSourceMetaData(); |