diff options
author | Mark Hung <marklh9@gmail.com> | 2021-10-07 23:54:51 +0800 |
---|---|---|
committer | Mark Hung <marklh9@gmail.com> | 2021-10-11 14:16:16 +0200 |
commit | 5f84c44e3d5ff19b800b6358e61228546e318d4f (patch) | |
tree | 1abc55c6e420f27cc22bb920a8eaff274353dd60 /cppuhelper | |
parent | 8ac8a20ed15bb458e1ee5a8df2b97aef05ca4f7c (diff) |
tdf#142407 fix incorrect number of lines in vertical writing.
Wrting mode isn't read correctly. The property PROP_WRITING_MODE
contans an Any of sal_Int16. When converting to WritingMode
enum directly, it always get WrtingMode::LR_TB(0), hence use wrong
side to calculate number of grid lines for vertical writing.
The resulted number of grid lines are much smaller than expected,
it ends up leaving large space between header and text.
Change-Id: Ifb0ff09fe981819cc2705de8d5596190f320f79e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123223
Tested-by: Jenkins
Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'cppuhelper')
0 files changed, 0 insertions, 0 deletions