diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-05 08:08:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-05 08:17:47 +0200 |
commit | 11383f56fb6889a324dd74725e5092ac4ce3999d (patch) | |
tree | b065c7f5e92e9f9abe2bde17daada01920dd63c8 /connectivity/source/simpledbt/staticdbtools_s.cxx | |
parent | da906ab93781928adc51c605825f91b16fe8dd19 (diff) |
connectivity: remove SAL_THROW macro
Change-Id: Id3bbb7a0d39a41b7106303f42d55ba4968235b63
Diffstat (limited to 'connectivity/source/simpledbt/staticdbtools_s.cxx')
-rw-r--r-- | connectivity/source/simpledbt/staticdbtools_s.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/connectivity/source/simpledbt/staticdbtools_s.cxx b/connectivity/source/simpledbt/staticdbtools_s.cxx index 55bfdf4628d0..ce63c340033f 100644 --- a/connectivity/source/simpledbt/staticdbtools_s.cxx +++ b/connectivity/source/simpledbt/staticdbtools_s.cxx @@ -84,14 +84,13 @@ namespace connectivity Reference< XConnection> ODataAccessStaticTools::getConnection_withFeedback(const OUString& _rDataSourceName, const OUString& _rUser, - const OUString& _rPwd, const Reference< XComponentContext>& _rxContext) const SAL_THROW ( (SQLException) ) + const OUString& _rPwd, const Reference< XComponentContext>& _rxContext) const { return ::dbtools::getConnection_withFeedback(_rDataSourceName, _rUser, _rPwd, _rxContext); } Reference< XConnection> ODataAccessStaticTools::connectRowset(const Reference< XRowSet>& _rxRowSet, const Reference< XComponentContext >& _rxContext, sal_Bool _bSetAsActiveConnection) const - SAL_THROW ( (SQLException, WrappedTargetException, RuntimeException) ) { return ::dbtools::connectRowset( _rxRowSet, _rxContext, _bSetAsActiveConnection); } @@ -99,7 +98,7 @@ namespace connectivity Reference< XConnection> ODataAccessStaticTools::getRowSetConnection( const Reference< XRowSet>& _rxRowSet) - const SAL_THROW ( (RuntimeException) ) + const { return ::dbtools::getConnection(_rxRowSet); } @@ -175,7 +174,7 @@ namespace connectivity Reference< XNameAccess > ODataAccessStaticTools::getFieldsByCommandDescriptor( const Reference< XConnection >& _rxConnection, const sal_Int32 _nCommandType, const OUString& _rCommand, - Reference< XComponent >& _rxKeepFieldsAlive, ::dbtools::SQLExceptionInfo* _pErrorInfo ) SAL_THROW( ( ) ) + Reference< XComponent >& _rxKeepFieldsAlive, ::dbtools::SQLExceptionInfo* _pErrorInfo ) { return ::dbtools::getFieldsByCommandDescriptor( _rxConnection, _nCommandType, _rCommand, _rxKeepFieldsAlive, _pErrorInfo ); @@ -184,7 +183,7 @@ namespace connectivity Sequence< OUString > ODataAccessStaticTools::getFieldNamesByCommandDescriptor( const Reference< XConnection >& _rxConnection, const sal_Int32 _nCommandType, - const OUString& _rCommand, ::dbtools::SQLExceptionInfo* _pErrorInfo ) SAL_THROW( ( ) ) + const OUString& _rCommand, ::dbtools::SQLExceptionInfo* _pErrorInfo ) { return ::dbtools::getFieldNamesByCommandDescriptor( _rxConnection, _nCommandType, _rCommand, _pErrorInfo ); |