summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-11-07 10:42:27 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-11-07 14:06:46 +0100
commite024cad7c1365da6a198656c3ca0c32b28938e87 (patch)
treeb21d01085e99a3a0aac4d433f46b3e98d0947265 /vcl/source
parent9858edd6576b03292bccfebb142fc92588df0c42 (diff)
tdf#113686 sw: handle sections when counting height of first content line
When moving back a row that has a single text frame, it should not matter if that text frame is in a section frame or not. The problem was that the bugdoc has a split (outer) table, the follow's ShouldBwdMoved() returned false, as SwTabFrame::CalcHeightOfFirstContentLine() returned USHRT_MAX, as it had no idea how to calc the height of a text frame in a section frame. Fix this by looking "through" the section frame, and handling "text frame" and "text frame in section frame" the same way. Change-Id: Ic3605a1e2d28bfaa69bf18f31cfbf1e6e681c04f Reviewed-on: https://gerrit.libreoffice.org/44393 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'vcl/source')
0 files changed, 0 insertions, 0 deletions