diff options
Diffstat (limited to 'include/comphelper/implbase_var.hxx')
-rw-r--r-- | include/comphelper/implbase_var.hxx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/include/comphelper/implbase_var.hxx b/include/comphelper/implbase_var.hxx index 10ef5f2f6ed4..a02d0b9fe7d3 100644 --- a/include/comphelper/implbase_var.hxx +++ b/include/comphelper/implbase_var.hxx @@ -154,14 +154,14 @@ protected: public: virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const& rType ) - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { return ::cppu::ImplHelper_query( rType, cd::get(), this ); } virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > - SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) + SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) { return ::cppu::ImplHelper_getTypes( cd::get() ); } virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { return ::cppu::ImplHelper_getImplementationId( cd::get() ); } }; @@ -198,7 +198,7 @@ class SAL_NO_VTABLE BOOST_PP_CAT(WeakImplHelper, public: virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const& rType ) - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { return ::cppu::WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); @@ -208,11 +208,11 @@ public: virtual void SAL_CALL release() throw () { OWeakObject::release(); } virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > - SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) + SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) { return ::cppu::WeakImplHelper_getTypes( cd::get() ); } virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { return ::cppu::ImplHelper_getImplementationId( cd::get() ); } }; @@ -346,7 +346,7 @@ public: virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const& rType ) - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { return ::cppu::WeakComponentImplHelper_query( rType, cd::get(), this, @@ -357,24 +357,24 @@ public: virtual void SAL_CALL release() throw () { WeakComponentImplHelperBase::release(); } virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > - SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) + SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) { return ::cppu::WeakComponentImplHelper_getTypes( cd::get() ); } virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { return ::cppu::ImplHelper_getImplementationId( cd::get() ); } // implement XComponent directly avoiding ambiguities: virtual void SAL_CALL dispose() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { WeakComponentImplHelperBase::dispose(); } virtual void SAL_CALL addEventListener( ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener> - const & xListener ) throw (::com::sun::star::uno::RuntimeException) + const & xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) { WeakComponentImplHelperBase::addEventListener( xListener ); } virtual void SAL_CALL removeEventListener( ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener> - const & xListener ) throw (::com::sun::star::uno::RuntimeException) + const & xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) { WeakComponentImplHelperBase::removeEventListener( xListener ); } }; @@ -404,7 +404,7 @@ public: virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const& rType ) - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { return ::cppu::WeakComponentImplHelper_query( rType, cd::get(), this, @@ -415,11 +415,11 @@ public: virtual void SAL_CALL release() throw () { WeakComponentImplHelperBase::release(); } virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > - SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) + SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) { return ::cppu::WeakComponentImplHelper_getTypes( cd::get() ); } virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { return ::cppu::ImplHelper_getImplementationId( cd::get() ); } }; |