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
Avoid unneeded OUString conversions and concatenated appends

Change-Id: Ied9fded44e1deee17be4c02f10261a459f88e530
Use sal_Int32 as index for a Sequence

Change-Id: Ib692af0f1ab9b2cbe67e6113257f9186d0c1f102
No need to store these OUStrings in class object

Change-Id: I96ff3ff8eda5ffb96432c519a9584d7d1d82b332
Convert to proper integer type

Change-Id: I1a310dfbc65233098f583840780ff9b020e1c856
Apply ROUND to floats and let it return longs

Change-Id: I88476c1ca2eff0898d31ab48d7d5a36301297bb9
Constify

Change-Id: I8d215b0cea56cda55d8e991da1649fca765d149b
sal_uInt16 to sal_Int32/size_t

Change-Id: I1c6a0aff1515e8e4fe86f2027f405a9a7c7aa579
sal_uInt16 to sal_Int32

Change-Id: I7c658f74c70daeece6343e69bd89313d22620a60