[Libreoffice-commits] core.git: include/cppuhelper
Stephan Bergmann
sbergman at redhat.com
Fri Mar 13 02:46:18 PDT 2015
include/cppuhelper/compbase.hxx | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
New commits:
commit 1ddd165418d72536e494ce6d2a078ab1ef3b20c9
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Mar 13 10:45:33 2015 +0100
Missing XComponent overrides
Change-Id: Iab882c309e661953f030432670e4e926e1178d1f
diff --git a/include/cppuhelper/compbase.hxx b/include/cppuhelper/compbase.hxx
index 9f0d648..966679b 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()); }
More information about the Libreoffice-commits
mailing list