tdf#122892 sw: fix disappearing rows after table split
commitb891226dcee036fd8aad8320c7007b75b10b23c5
authorMichael Stahl <Michael.Stahl@cib.de>
Tue, 26 Feb 2019 18:12:38 +0000 (26 19:12 +0100)
committerMichael Stahl <Michael.Stahl@cib.de>
Mon, 4 Mar 2019 10:09:19 +0000 (4 11:09 +0100)
treef6bd7ebff917231a8e4ed7eede936fe5c0c388bc
parentb7d4418c309c8bc4fd25485dd3a0ea6ad9edf34e
tdf#122892 sw: fix disappearing rows after table split

After fixing the infinite loop, the content of the merged table cell
with rowspan 3 is invisible, because its SwCellFrame and the SwRowFrame
containing it both have a height of 0.

This is due to funny code in SwTabFrame::Split(), which checks the bRet
flag before setting it to its final value, thus skipping the
lcl_AdjustRowSpanCells() call.

Change-Id: I96f9e9efdd5cae3a61da07995b8c31042fc59125
Reviewed-on: https://gerrit.libreoffice.org/68403
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
sw/source/core/layout/tabfrm.cxx