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





------- Additional comments from [EMAIL PROTECTED] Tue Jul  4 04:40:13 -0700 
2006 -------
I can reproduce the original crash (select password protected file in wizard and
click OK) under Windows XP, too.  More about that below.

The second problem (start Office with the name of a password protected file as
argument) is not a crash.  When the wrong password is entered the Impress
recognizes the file as not being loadable and terminates.  The same happens with
invalid file names or names of not existing files.

Now to the original crash.  The problem here is that the frame is destroyed when
the document can not be loaded.  This happens when from
SdModule::ExecuteNewDocument() the SfxFrame::LoadDocumentSynchron() method is
called.  The frame that is being called is destroyed during this call.  This
causes problems both in SD and SFX2.

In SD we have to checking the result returned by LoadDocumentSynchron() and set
the pFrame pointer (that is returned by ExecuteNewDocument()) to NULL. 
Furthermore the return value of the SfxRequest has to be set to SfxBoolItem(
,FALSE).

See the next comment for the problems in SFX2.

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