diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:47:09 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:47:09 +0100 |
commit | eb4187edbe411ed26861ec8c5b4f29708907cbf4 (patch) | |
tree | 53c5308d873abc6a576d442132411a1c26f9c9fe /connectivity/source/drivers/macab | |
parent | 5e21a413c788f839a66d9e4c14e745ed18058db8 (diff) |
std::exception fixup
Change-Id: I36c9f19580ef2a8e87d68fcc7f3cc3fd56ec7605
Diffstat (limited to 'connectivity/source/drivers/macab')
-rw-r--r-- | connectivity/source/drivers/macab/MacabStatement.cxx | 4 | ||||
-rw-r--r-- | connectivity/source/drivers/macab/MacabStatement.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/macab/MacabStatement.cxx b/connectivity/source/drivers/macab/MacabStatement.cxx index 6b85a0ef5225..1081b8b5ef5f 100644 --- a/connectivity/source/drivers/macab/MacabStatement.cxx +++ b/connectivity/source/drivers/macab/MacabStatement.cxx @@ -362,7 +362,7 @@ void MacabCommonStatement::sortRecords(MacabResultSet *pResult) const throw(SQLE } } -Any SAL_CALL MacabCommonStatement::queryInterface( const Type & rType ) throw(RuntimeException) +Any SAL_CALL MacabCommonStatement::queryInterface( const Type & rType ) throw(RuntimeException, std::exception) { Any aRet = MacabCommonStatement_BASE::queryInterface(rType); if (!aRet.hasValue()) @@ -370,7 +370,7 @@ Any SAL_CALL MacabCommonStatement::queryInterface( const Type & rType ) throw(Ru return aRet; } -Sequence< Type > SAL_CALL MacabCommonStatement::getTypes( ) throw(RuntimeException) +Sequence< Type > SAL_CALL MacabCommonStatement::getTypes( ) throw(RuntimeException, std::exception) { ::cppu::OTypeCollection aTypes( ::getCppuType( (const Reference< XMultiPropertySet > *)0 ), ::getCppuType( (const Reference< XFastPropertySet > *)0 ), diff --git a/connectivity/source/drivers/macab/MacabStatement.hxx b/connectivity/source/drivers/macab/MacabStatement.hxx index 75da079ea67f..415b4264b005 100644 --- a/connectivity/source/drivers/macab/MacabStatement.hxx +++ b/connectivity/source/drivers/macab/MacabStatement.hxx @@ -107,11 +107,11 @@ namespace connectivity virtual void SAL_CALL acquire() throw(); virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType - ) throw(::com::sun::star::uno::RuntimeException); + ) throw(::com::sun::star::uno::RuntimeException, std::exception); // XTypeProvider virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( - ) throw(::com::sun::star::uno::RuntimeException); + ) throw(::com::sun::star::uno::RuntimeException, std::exception); // XPropertySet virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( |