[Libreoffice-commits] .: eventattacher/source

Noel Power noelp at kemper.freedesktop.org
Wed Oct 5 08:52:21 PDT 2011


 eventattacher/source/eventattacher.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 52d60647a056dbc841aba1ee5efbbd0b55f9f0d8
Author: Noel Power <noel.power at novell.com>
Date:   Wed Oct 5 16:49:44 2011 +0100

    fix broken eventattacher. bnc#718227
    
    event handler registered for a ListenerType were triggered when *any* of the events
    associated with that ListenerType were fired.

diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx
index 29954d9..c4c187a 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);
     }
 


More information about the Libreoffice-commits mailing list