SvxNumberFormat::SetAbsLSpace takes a short
...and none of the places that call SvxNumberFormat::GetAbsLSpace (also returning short) look like they deliberately cast back to sal_uInt16 (i.e., to tunnel a genuinely unsigned value through SvxNumberFormat), so it looks more plausible to restrict values here to short and SHRT_MAX, instead of sal_uInt16 and USHRT_MAX. Change-Id: I6807c1b29d30c3f9bfe1ad8b98d0b3ef64dd6a5a Reviewed-on: https://gerrit.libreoffice.org/48957Tested-by:Jenkins <ci@libreoffice.org> Reviewed-by:
Stephan Bergmann <sbergman@redhat.com>
Showing
Please
register
or
sign in
to comment