diff options
Diffstat (limited to 'include/cppuhelper/compbase.hxx')
-rw-r--r-- | include/cppuhelper/compbase.hxx | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/include/cppuhelper/compbase.hxx b/include/cppuhelper/compbase.hxx index 0b67044783cd..e7e196e9e2af 100644 --- a/include/cppuhelper/compbase.hxx +++ b/include/cppuhelper/compbase.hxx @@ -79,8 +79,7 @@ public: PartialWeakComponentImplHelper(osl::Mutex & mutex) throw (): WeakComponentImplHelperBase(mutex) {} - css::uno::Any SAL_CALL queryInterface(css::uno::Type const & aType) - throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + css::uno::Any SAL_CALL queryInterface(css::uno::Type const & aType) SAL_OVERRIDE { return WeakComponentImplHelper_query(aType, cd::get(), this, this); } void SAL_CALL acquire() throw () SAL_OVERRIDE @@ -89,16 +88,14 @@ public: void SAL_CALL release() throw () SAL_OVERRIDE { WeakComponentImplHelperBase::release(); } - void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) + void SAL_CALL dispose() SAL_OVERRIDE { WeakComponentImplHelperBase::dispose(); } - css::uno::Sequence<css::uno::Type> SAL_CALL getTypes() - throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + css::uno::Sequence<css::uno::Type> SAL_CALL getTypes() SAL_OVERRIDE { return WeakComponentImplHelper_getTypes(cd::get()); } - css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() - throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() SAL_OVERRIDE { return css::uno::Sequence<sal_Int8>(); } }; @@ -122,13 +119,11 @@ public: PartialWeakComponentImplHelper<Ifc...>(mutex) {} void SAL_CALL addEventListener( - css::uno::Reference<css::lang::XEventListener> const & xListener) - throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + css::uno::Reference<css::lang::XEventListener> const & xListener) SAL_OVERRIDE { WeakComponentImplHelperBase::addEventListener(xListener); } void SAL_CALL removeEventListener( - css::uno::Reference<css::lang::XEventListener> const & aListener) - throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + css::uno::Reference<css::lang::XEventListener> const & aListener) SAL_OVERRIDE { WeakComponentImplHelperBase::removeEventListener(aListener); } }; |