summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2019-10-04 12:02:53 +0300
committerMiklos Vajna <vmiklos@collabora.com>2019-10-31 08:53:19 +0100
commit7eeb484e7d1faf87fbb8774a8bda4328d047dde3 (patch)
tree2308940cf737bf2d42ff2220a2c91d621ceca560 /compilerplugins
parentaaa242a33b01e87c41f19fca871cafa857fe71dd (diff)
related tdf#99602 docxoutput: fix incorrect rounding on subscripts
Adding .5 is a poor mans version of rounding which works fine with unsigned numbers, but not with negative numbers. Perhaps use the exotic round() function instead? In addition, the font size isn't necessarily an integer, so that should have been a float. The result of bad rounding was losing a percentage of the subscript every round-trip. Change-Id: I83e05d8367f059f3266d12a7e134e268fef758bb Reviewed-on: https://gerrit.libreoffice.org/80217 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'compilerplugins')
0 files changed, 0 insertions, 0 deletions