diff options
author | Aron Budea <aron.budea@collabora.com> | 2021-10-02 06:13:16 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-10-06 13:42:27 +0200 |
commit | 203068319e17377cafb9e298a910f42fde417a21 (patch) | |
tree | 17264ee8b0ed6d604138853b29f8c8775c743e57 /include | |
parent | 61ecd15cc81a0d14d27e727ea0c9fe6317cc13a9 (diff) |
tdf#144122 Use signed type to avoid stealthy underflow
301278b656e76b6f42af5cf8a6f5c6c02acfffeb and
6fdd0a3f8b3448a9a246496191908c92156cc38b switched
some sal_uInt16 types to sal_uInt32.
Additional commits related to the change:
9e075acf2bf1ce6c43fdf5b601507ee0663bd691 and
2634bc59092b24217d984a5845365d703bdb08d2.
A fallout from this change was tdf#144305, fixed via
0c3e47cc2f0570a7cd8ff4889763991a86b29f26.
Instead of adding further casts to force conversion to signed
to avoid unsigned types underflowing into large positive numbers,
convert these types to signed SwTwips.
Change-Id: Icb7fbae79621d452cd03bb01dc620f60a26f1db0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123014
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions