To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=59089





------- Additional comments from [EMAIL PROTECTED] Sun Dec 18 04:07:36 -0800 
2005 -------
After I finished to set up a debug env in Linux I was able to understand how to
reproduce the bug.

I doesn't happen normally, it happens only if the doc being opened contains a
broken link to a picture (I didn't try with other kind of link, so far).

Step to reproduce:

1) create an empty document in writer, add a macro body in the document;
2) select Tools|options|security|macro security medium level;
3) add a picture in the document, the picture must be a link to a file, I used a
jpeg file, save the doc;
4) open the doc file in ooo without doing anything, all is right;
5) now close the doc file and change the name of the picture to any other name;
6) reopen the doc with ooo and you will see the macro warning dialog called 
twice.

For what I saw in the code, it seems that in func
SwDocShell::StartLoadFinishedTimer a timer is started if links are present and
not yet resolved, then the function  SfxObjectShell::FinishedLoading gets called
and it is responsible for calling the first time the dialog asking about the
macros. As far as I understand, the timer started is responsible for starting
the macro dialog the second time, but I can be completely wrong, not knowing the
code.


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to