From 52d60647a056dbc841aba1ee5efbbd0b55f9f0d8 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Wed, 5 Oct 2011 16:49:44 +0100 Subject: fix broken eventattacher. bnc#718227 event handler registered for a ListenerType were triggered when *any* of the events associated with that ListenerType were fired. --- eventattacher/source/eventattacher.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eventattacher') diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx index 29954d9893f5..c4c187af7619 100644 --- a/eventattacher/source/eventattacher.cxx +++ b/eventattacher/source/eventattacher.cxx @@ -765,7 +765,7 @@ Sequence< Reference > EventAttacherImpl::attachListeners( for (sal_Int32 i = 0; i < nCount; ++i) { pArray[i] = attachListenerForTarget( - xAccess, xInvocationAdapterFactory, aListeners[i].AllListener, + xAccess, xInvocationAdapterFactory, AllListeners[ i ], aObjAny, aListeners[i].Helper, aListeners[i].ListenerType, aListeners[i].AddListenerParam); } -- cgit v1.2.3