diff options
author | Justin Luth <justin.luth@collabora.com> | 2018-09-13 15:01:30 +0300 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2018-10-03 07:54:00 +0200 |
commit | 93242e985a002d94b0ac765952ce47b928effcae (patch) | |
tree | d31789c7c48a28cad3d28dd8b62bf9f6b03d0dd3 /pyuno | |
parent | adb0030d99b90fc50e536c89fc8c7a80f057c6ac (diff) |
tdf#76683 writerfilter: TwipMeasure must be positive
...and the column width must not be negative.
The previous column logic ensured that the total width was
larger than the reference by adding a fake buffer
and then subtracted the difference from the final column.
In the case of a zero-width final column, it could become negative.
The current logic ensures that the total width is less than
the reference width, and then adds the difference
(which should be a smaller difference now) to the final column.
Regression potential - early columns that need every single twip
of bonus space might not fit anymore. On the other hand,
ending columns might be fixed...
Change-Id: Ie75d455e8ed62dbec5a1b9c901417df8d842ace8
Reviewed-on: https://gerrit.libreoffice.org/59400
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'pyuno')
0 files changed, 0 insertions, 0 deletions