summaryrefslogtreecommitdiffstats
path: root/cpputools
diff options
context:
space:
mode:
authorMark Hung <marklm9@gmail.com>2022-08-14 15:23:14 +0800
committerMiklos Vajna <vmiklos@collabora.com>2022-08-15 11:39:09 +0200
commit1bf82b26aea3a403920a64cdfcb4671c947c7a01 (patch)
tree1f6e00eed63fddf396455a24b501876bb9cc7047 /cpputools
parentexternal/lxml: Fix -Wincompatible-function-pointer-types (diff)
downloadcore-1bf82b26aea3a403920a64cdfcb4671c947c7a01.tar.gz
core-1bf82b26aea3a403920a64cdfcb4671c947c7a01.zip
tdf#135991 fix unexpected hidden RTL sections.
SwLayoutFrame::MakeAll tried to manipulate the height instead of the width for SwCellFrame and SwColumnFrame ( i.e. when IsNeghbourFrame() is true. ), by selecting a wrong SwRectFn. SwRectFn fnRect = bVert == IsNeighbourFrame() ? fnRectHori : ( IsVertLR() ? (IsVertLRBT() ? fnRectVertL2RB2T : fnRectVertL2R) : fnRectVert ); It doesn't make sense to select among fnRectVertL2RBT, fnRectVertL2R, and fnRectVert if the layout is horizontal. The frame position got a negative top value and make the frame invisble. Check he following commit for reference: commit c90b6806d18c8ed25015eb2ecdff13c7bab2572d Author: Andreas Martens <ama@openoffice.org> Date: Wed Sep 19 07:45:10 2001 +0000 Chg: Moving vertical help functions from SwFrm to SwRect Change-Id: I2f6da9cdbc2947de95a6fb9ce8fa94a79360c83a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138250 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'cpputools')
0 files changed, 0 insertions, 0 deletions