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





------- Additional comments from [EMAIL PROTECTED] Mon Sep  1 02:51:44 +0000 
2008 -------
Hi all,
I have some findings on this issue:
An OLE object is a Flyfrm whose pLower is a SwNoTxtFrm.
If the SwFrm the OLE ahchors at is hidden, pLower of FlyFrm
will be deleted. Method SwWrtShell::CalcAndSetScale will 
calculate the rect area of the object and call the method
SwFEShell::FindFlyFrm to get the proper SwFlyFrm. If the SwFrm
anchored is hidden, pLower will be NULL. And function SwFEShell::GetAnyCurRect
will return an not exsited Rect which will cause crash.

I have just got a rough solution with the attached patch, but there are still
some other problems such as undo strings incorrect. But I don't know what 
it should be like when the anchored SwFrm is hidden when inserting an OLE 
object. It seems that OOo has a big defect on this.

Hope someone will have a look at the patch and give some suggestions.

Comments from Lijian.

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