[Libreoffice-bugs] [Bug 106022] MailMerge: when running e-mail using a macro the MailMergeEventListener is monitoring wrong events
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 30 10:49:43 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=106022
--- Comment #3 from Alex Kempshall <mcmurchy1917-bugzilla at yahoo.co.uk> ---
Created attachment 135867
--> https://bugs.documentfoundation.org/attachment.cgi?id=135867&action=edit
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170830/a9346f7a/attachment.html>
More information about the Libreoffice-bugs
mailing list