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





------- Additional comments from [EMAIL PROTECTED] Fri Aug 10 14:28:46 +0000 
2007 -------
A quick solution for 2.3 would be to prevent always the closing of the office
while the EM dialog is showing. That is, the
XTerminationListener::queryTermination would always throw a
TerminationVetoException.

Later the closing of OOo should only be prevented if the EM dialog has opened an
other modal dialog. This could for example be achieved by asking the VCL window
if it has other child windows open. If so, the veto exception would be thrown.
If not  then the office can continue to shut down. But it must be made sure that
no other windows are created with the dialog as parent. Or at least there
Execute method should have no effect. For example:

XTerminateListenerIMpl::notifyTermination()

{

        

        if (fialog.hasModalWindow())

             throw TerminationVetoException()



        dialog.doNotCreateModalDialogs()  //because we are going to die

}



---------------------------------------------------------------------
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