https://bugs.documentfoundation.org/show_bug.cgi?id=135765

--- Comment #7 from Justin L <[email protected]> ---
I expect that the key to fixing this undo problem (at least for the horizontal
cells) is related to
sw/source/core/table/swnewtable.cxx's SwTable::PrepareMerge
            if( nCurrCol )
                rBoxes.insert( pBox );
where rBoxes is a list of cells that will simply be deleted. Somehow the
restoration of the box doesn't include the numbering of an empty paragraph.

Oh, that likely is handled separately from the cells themselves. Likely handled
in all the UNDO stuff in PrepareMerge's if( !IsEmptyBox( *pBox, aChkPam ) )

So, should we tweak IsEmptyBox to treat an empty numbered paragraph as a
"normal" paragraph and MOVE it into the merged cell (so that the merged cell
has two bullet points)? That doesn't sound like a great workaround...

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to