USHRT_MAX -> SAL_MAX_UINT16
The checks against USHRT_MAX were like that already in 84a3db80 "initial import", while the casts to sal_uInt16 were later introduced with a7762676 "#83294# SwXTextTable/Cell::get/setData with a sequence of rows instead of a sequence of columns". Change-Id: Iab6f658f91edcec9e8e6fe6fbf0da730b3ad4581 Reviewed-on: https://gerrit.libreoffice.org/48468Tested-by:Jenkins <ci@libreoffice.org> Reviewed-by:
Stephan Bergmann <sbergman@redhat.com>
Showing
Please
register
or
sign in
to comment