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 /include/connectivity/dbtools.hxx | |
parent | cppuhelper: remove SAL_THROW macro (diff) | |
download | core-11383f56fb6889a324dd74725e5092ac4ce3999d.tar.gz core-11383f56fb6889a324dd74725e5092ac4ce3999d.zip |
connectivity: remove SAL_THROW macro
Change-Id: Id3bbb7a0d39a41b7106303f42d55ba4968235b63
Diffstat (limited to 'include/connectivity/dbtools.hxx')
-rw-r--r-- | include/connectivity/dbtools.hxx | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/include/connectivity/dbtools.hxx b/include/connectivity/dbtools.hxx index 1edd02bffe47..73e20b2006ab 100644 --- a/include/connectivity/dbtools.hxx +++ b/include/connectivity/dbtools.hxx @@ -149,9 +149,7 @@ namespace dbtools const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet>& _rxRowSet, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxContext, bool _bSetAsActiveConnection - ) SAL_THROW ( ( ::com::sun::star::sdbc::SQLException - , ::com::sun::star::lang::WrappedTargetException - , ::com::sun::star::uno::RuntimeException ) ); + ); /** ensures that a row set has a valid ActiveConnection, if possible @@ -180,9 +178,7 @@ namespace dbtools const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet>& _rxRowSet, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxContext, bool _bUseAutoConnectionDisposer - ) SAL_THROW ( ( ::com::sun::star::sdbc::SQLException - , ::com::sun::star::lang::WrappedTargetException - , ::com::sun::star::uno::RuntimeException ) ); + ); /** returns the connection the RowSet is currently working with (which is the ActiveConnection property) */ @@ -191,8 +187,7 @@ namespace dbtools const OUString& _rDataSourceName, const OUString& _rUser, const OUString& _rPwd, - const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxContext) - SAL_THROW ( (::com::sun::star::sdbc::SQLException) ); + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxContext); /** determines whether the given component is part of a document which is an embedded database @@ -266,7 +261,7 @@ namespace dbtools const OUString& _rCommand, ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& _rxKeepFieldsAlive, SQLExceptionInfo* _pErrorInfo = NULL - ) SAL_THROW( ( ) ); + ); /** get fields for a result set given by a "command descriptor" @@ -302,7 +297,7 @@ namespace dbtools const sal_Int32 _nCommandType, const OUString& _rCommand, SQLExceptionInfo* _pErrorInfo = NULL - ) SAL_THROW( ( ) ); + ); /** create a new ::com::sun::star::sdbc::SQLContext, fill it with the given descriptions and the given source, @@ -559,7 +554,7 @@ namespace dbtools OOO_DLLPUBLIC_DBTOOLS bool implUpdateObject( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowUpdate >& _rxUpdatedObject, const sal_Int32 _nColumnIndex, - const ::com::sun::star::uno::Any& _rValue) SAL_THROW ( ( ::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) ); + const ::com::sun::star::uno::Any& _rValue); @@ -619,7 +614,7 @@ namespace dbtools OOO_DLLPUBLIC_DBTOOLS bool implSetObject( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XParameters>& _rxParameters, const sal_Int32 _nColumnIndex, - const ::com::sun::star::uno::Any& _rValue) SAL_THROW ( ( ::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException ) ); + const ::com::sun::star::uno::Any& _rValue); /** creates the standard sql create table statement without the key part. @param descriptor |