summaryrefslogtreecommitdiff
path: root/eventattacher
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2011-10-05 16:49:44 +0100
committerNoel Power <noel.power@novell.com>2011-10-05 16:55:23 +0100
commit52d60647a056dbc841aba1ee5efbbd0b55f9f0d8 (patch)
treea418d050438e5ce526b8cf655fb0584bdfdf472d /eventattacher
parente36f591dfeb89fded172f4770157bc6cb6dc7454 (diff)
fix broken eventattacher. bnc#718227
event handler registered for a ListenerType were triggered when *any* of the events associated with that ListenerType were fired.
Diffstat (limited to 'eventattacher')
-rw-r--r--eventattacher/source/eventattacher.cxx2
1 files changed, 1 insertions, 1 deletions
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<XEventListener> > 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);
}