To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=77784
------- Additional comments from [EMAIL PROTECTED] Mon Jan 7 10:41:34 +0000
2008 -------
Yes, the deletion of the table is the first defect which causes the crash later
on.
This deletion is caused by a wrong assumption in SwRTFParser::SetFlysInDoc(..)
Here we have to start analyzing and fixing. Unfortunately there is no expert for
this code available, but when we have fixed this issue, we will be the new
experts for RTF import of fly frames ;-)
I debugged a little bit and obviously the problem starts with the code lines:
pNd = pNd-FindTableNode();
if( pNd )
aRg.aStart = *pNd;
When I understand this code correctly then works the RTF fly import in the
following way:
First the content of the fly frame is inserted into the main part of the nodes
array.
In the next step this content is moved into the special section for fly frames.
In our bug case the range (aRg) which is used for this move is expanded because
it is inside a table. This is wrong, but if we simply remove this code I think
we will not be able to import a fly with a table inside correctly!
So we have to find a solution which does not expand the aRg if we want to insert
a fly frame into a table but which expands the aRg if we want to import a table
inside a fly frame.
Resume: SwRTFParser::SetFlysInDoc(..) is the code to debug, understand, analyze
and finally fix our bug.
---------------------------------------------------------------------
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]