diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-11 18:31:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-11 18:31:48 +0100 |
commit | 8fb6f4a74b00dbaa62cf75c1da46cd8c3f6e3a3c (patch) | |
tree | 6b8b715c9c59a0f4b1e0be84732b88480637328d /include/comphelper | |
parent | b710952a3a28c915b8e45a6cc8186b0ea9407c26 (diff) |
Mark overriding cppuhelper class template member functions as SAL_OVERRIDE
Change-Id: I51942d37eacd11000c08a784d8a995bd8f9f972c
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/implbase_var.hxx | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/include/comphelper/implbase_var.hxx b/include/comphelper/implbase_var.hxx index a02d0b9fe7d3..dd9f8b9f48c9 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, std::exception) + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { 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, std::exception) + SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return ::cppu::ImplHelper_getTypes( cd::get() ); } virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() - throw (::com::sun::star::uno::RuntimeException, std::exception) + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return ::cppu::ImplHelper_getImplementationId( cd::get() ); } }; @@ -198,21 +198,21 @@ 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, std::exception) + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return ::cppu::WeakImplHelper_query( rType, cd::get(), this, static_cast<OWeakObject *>(this) ); } - virtual void SAL_CALL acquire() throw () + virtual void SAL_CALL acquire() throw () SAL_OVERRIDE { OWeakObject::acquire(); } - virtual void SAL_CALL release() throw () + virtual void SAL_CALL release() throw () SAL_OVERRIDE { OWeakObject::release(); } virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > - SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) + SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return ::cppu::WeakImplHelper_getTypes( cd::get() ); } virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() - throw (::com::sun::star::uno::RuntimeException, std::exception) + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return ::cppu::ImplHelper_getImplementationId( cd::get() ); } }; @@ -275,7 +275,7 @@ 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) SAL_OVERRIDE { ::com::sun::star::uno::Any const aRet( ::cppu::ImplHelper_queryNoXInterface( rType, cd::get(), this ) ); @@ -283,19 +283,19 @@ public: return aRet; return BaseClass::queryInterface( rType ); } - virtual void SAL_CALL acquire() throw () + virtual void SAL_CALL acquire() throw () SAL_OVERRIDE { BaseClass::acquire(); } - virtual void SAL_CALL release() throw () + virtual void SAL_CALL release() throw () SAL_OVERRIDE { BaseClass::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) SAL_OVERRIDE { return ::cppu::ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); } virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE { return ::cppu::ImplHelper_getImplementationId( cd::get() ); } }; @@ -346,35 +346,35 @@ public: virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const& rType ) - throw (::com::sun::star::uno::RuntimeException, std::exception) + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return ::cppu::WeakComponentImplHelper_query( rType, cd::get(), this, static_cast< ::cppu::WeakComponentImplHelperBase * >(this) ); } - virtual void SAL_CALL acquire() throw () + virtual void SAL_CALL acquire() throw () SAL_OVERRIDE { WeakComponentImplHelperBase::acquire(); } - virtual void SAL_CALL release() throw () + virtual void SAL_CALL release() throw () SAL_OVERRIDE { WeakComponentImplHelperBase::release(); } virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > - SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) + SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return ::cppu::WeakComponentImplHelper_getTypes( cd::get() ); } virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() - throw (::com::sun::star::uno::RuntimeException, std::exception) + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return ::cppu::ImplHelper_getImplementationId( cd::get() ); } // implement XComponent directly avoiding ambiguities: virtual void SAL_CALL dispose() - throw (::com::sun::star::uno::RuntimeException, std::exception) + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { 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, std::exception) + const & xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { 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, std::exception) + const & xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { WeakComponentImplHelperBase::removeEventListener( xListener ); } }; @@ -404,22 +404,22 @@ public: virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const& rType ) - throw (::com::sun::star::uno::RuntimeException, std::exception) + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return ::cppu::WeakComponentImplHelper_query( rType, cd::get(), this, static_cast< ::cppu::WeakComponentImplHelperBase * >(this) ); } - virtual void SAL_CALL acquire() throw () + virtual void SAL_CALL acquire() throw () SAL_OVERRIDE { WeakComponentImplHelperBase::acquire(); } - virtual void SAL_CALL release() throw () + virtual void SAL_CALL release() throw () SAL_OVERRIDE { WeakComponentImplHelperBase::release(); } virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > - SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) + SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return ::cppu::WeakComponentImplHelper_getTypes( cd::get() ); } virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() - throw (::com::sun::star::uno::RuntimeException, std::exception) + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return ::cppu::ImplHelper_getImplementationId( cd::get() ); } }; |