sal_uInt16 to sal_Int32 and USHRT_MAX to -1
The original code seems to use USHRT_MAX to perform no selection in the default case, but USHRT_MAX can be a valid position for ListBox. Use a negative value instead, so to have the desired behaviour. Change-Id: I050940f6779fb6592c788000e95d1095e571667d
Showing
Please
register
or
sign in
to comment