sal_uInt16 to size_t and optimizations

Removed unneeded casts, adapted cycles, reduced scope...

Change-Id: I1781a9d4c42bd6b85f16e9573d0bc2b201084646
sal_uInt16 to sal_Int32 and remove OUString temporaries

Change-Id: I476fb65a1e55db084bb12e61e6d3d9ccf3a41637
sal_uInt16 to size_t/long

Change-Id: I9284ef8c51f9639ad4f7c0c4b4f65019a4ca524b
sal_uInt16 to sal_Int32, reduce scopes, constify

Change-Id: Idc283b9e9ebb2e1745c4bad54a27db3e73712bbc
Improved integer type consistence + some optimizations

Change-Id: I5e2a6ef9c3f744997e9e473e9431d590ba6f9d04
sal_uInt16 to long and constify loop bound

Change-Id: Iad9498676994cd60521f251fd84dcc2b90b54e88
sal_uInt16 to long in NumberingPreview::Paint and its helpers

Change-Id: I52f3365a00f05bf1ff34f5a01cb0c0dbdf2fda11
sal_uInt16 to sal_Int32 and removed some unneeded casts

Change-Id: I122af4ed8a2504242f527cf98b26c9e1599497ea
Group common expression

Change-Id: Id286b57ccba1edb35490c374740a58128ce7f0c4
sal_uInt16 to sal_Int32

Change-Id: I9d92d5866be5f579a2d645d9039f9fb939e6e61e
sal_uInt16 to sal_uLong and remove unneeded cast

Change-Id: I45152c575720e0720139d8a6d973333b105e1fa5
Result of expression is unused, remove that code

This code has been there at least since 2000-09-18, so removing it
seems to be safer than adding the evaluated token to the sMsg
OUString, as the surrounding code would suggest.

Change-Id: Ie9b2446b80a7bf79efbf6963b3a5e40548d4154c
Remove some OUString concatenated appends and some temporaries

Change-Id: I9f92a57644239b11941236a1cee5302eca993a7b
Constify and reduce scope

Change-Id: If80b842a79d476e5e90eeedc4520fc952c8f8f2a
sal_uInt16 to sal_Int32 and remove a temporary OUString

Change-Id: Ia305ad3b1e04129e172f0f2fe3428f84e4654576
sal_uInt16 to sal_Int32/int and remove some temporaries

Change-Id: I2ab4bb2f57c95d2d4b1029fd6e324ebbe0ff7148
Remove temporary OUStrings

Change-Id: I328eb08b719b5fdd51e1ca7c5c6fa3546ac90adb
Remove temporary OUString by bailing out early

Change-Id: I58e63b11c684d686e0e0830bb4e0e3b7fc9bbc32
sal_uInt16 to sal_(u)Int32 + some constifications

Change-Id: I60a552f14c4c4735f702581be18231e658cb30e7
OUString* to const OUString* as constructor argument

Change-Id: I54e3b086c57b9b727ffdd5d3aa0c38c2c2ea2954