<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - MailMerge: when running e-mail using a macro the MailMergeEventListener is monitoring wrong events"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=106022#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - MailMerge: when running e-mail using a macro the MailMergeEventListener is monitoring wrong events"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=106022">bug 106022</a>
from <span class="vcard"><a class="email" href="mailto:mcmurchy1917-bugzilla@yahoo.co.uk" title="Alex Kempshall <mcmurchy1917-bugzilla@yahoo.co.uk>"> <span class="fn">Alex Kempshall</span></a>
</span></b>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=135867" name="attach_135867" title="Bisect log">attachment 135867</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=135867&action=edit" title="Bisect log">[details]</a></span>
Bisect log
I've attached the bisect log for this bug.
As the messages are now sent by a dispatcher this code in dbmgr.cxx is in the
wrong place
// also emit MailMergeEvent on XInterface if possible
const SwXMailMerge *pEvtSrc = GetMailMergeEvtSrc();
if(pEvtSrc)
{
uno::Reference< uno::XInterface > xRef(
static_cast<text::XMailMergeBroadcaster*>(const_cast<SwXMailMerge*>(pEvtSrc))
);
text::MailMergeEvent aEvt( xRef, xWorkDocSh->GetModel() );
pEvtSrc->LaunchMailMergeEvent( aEvt );
}
It is monitoring messages being sent to the dispatcher whereas it should be
monitoring messages being sent out by the dispatcher.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>