Hi Andreas,
Thanks!That's great.
Regards,
Yan Wu
Andreas Martens wrote:
Hi Yan Wu,
Yan Wu wrote:
Hello Andreas,
I'm investigating issue
80050(http://www.openoffice.org/issues/show_bug.cgi?id=80050), in
sw\source\core\layout\trvlfrm.cxx,SwLayoutFrm::GetCntntPos(),in block:
if ( !pActual )
{
...
pActual = pCntnt;
...
}
The pCntnt will be always NULL when deleting a table containing merged
cells. And it cannt break out the loop.
At present I havent find a good way to resolve it. Could you give me
some hints?
This could be fixed in the method "SwLayoutFrm::ContainsCntnt". There is
already a special handling for section frames, the same could be done
for table frames. A simple replacement of "pLayLeaf->IsSctFrm()" by "
(pLayLeaf->IsSctFrm() || pLayLeaf->IsTabFrm()) " would fix this loop.
But this would only cover the root cause of the error. We have to avoid
an empty SwTabFrm.
So I fixed this issue in ndtbl.cxx, function SwDoc::DeleteRowCol(..).
The detection of a table has to be removed completely failed for tables
with merged cells (row-span).
Regards
Andreas
Regards,
Yan Wu
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]