diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-13 10:45:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-13 10:45:33 +0100 |
commit | 1ddd165418d72536e494ce6d2a078ab1ef3b20c9 (patch) | |
tree | 6d04497242f89a46458de70436d0fd575021b55e /include/cppuhelper | |
parent | DocxAttributeOutput::m_pBackgroundAttrList: use unique_ptr (diff) | |
download | core-1ddd165418d72536e494ce6d2a078ab1ef3b20c9.tar.gz core-1ddd165418d72536e494ce6d2a078ab1ef3b20c9.zip |
Missing XComponent overrides
Change-Id: Iab882c309e661953f030432670e4e926e1178d1f
Diffstat (limited to 'include/cppuhelper')
-rw-r--r-- | include/cppuhelper/compbase.hxx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/cppuhelper/compbase.hxx b/include/cppuhelper/compbase.hxx index 9f0d648b7a8f..966679b3c2ee 100644 --- a/include/cppuhelper/compbase.hxx +++ b/include/cppuhelper/compbase.hxx @@ -26,6 +26,7 @@ #include <com/sun/star/lang/XTypeProvider.hpp> #include <com/sun/star/uno/Any.hxx> +#include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/RuntimeException.hpp> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Type.hxx> @@ -34,6 +35,9 @@ #include <rtl/instance.hxx> #include <sal/types.h> +namespace com { namespace sun { namespace star { namespace uno { + class XEventListener; +} } } } namespace osl { class Mutex; } #if defined LIBO_INTERNAL_ONLY @@ -75,6 +79,20 @@ public: void SAL_CALL release() throw () SAL_OVERRIDE { WeakComponentImplHelperBase::release(); } + void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) + SAL_OVERRIDE + { WeakComponentImplHelperBase::dispose(); } + + void SAL_CALL addEventListener( + css::uno::Reference<css::lang::XEventListener> const & xListener) + throw (css::uno::RuntimeException, std::exception) 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 + { WeakComponentImplHelperBase::removeEventListener(aListener); } + css::uno::Sequence<css::uno::Type> SAL_CALL getTypes() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return WeakComponentImplHelper_getTypes(cd::get()); } |