sal_uInt16 to size_t

Change-Id: I46d85e82376a3135408ab77ad31b76a5edbe9ce7
Remove redundant checks

Change-Id: I4357e425e0459c9cc8873eba8a8ed1c5a34e9327
Reduce scope

Change-Id: Ie73f3d0f67435d66e8cb3bb2edeb9507bc420c85
Remove unused headers

Change-Id: I67cb5bf14114f9892d2680b7688092cafd9644f1
sal_uInt16 to more proper types and constify

Change-Id: Ia510ac7d5b38dc6f3910a6e965f1cc154ad41f27
OUString: avoid temporaries + equalsAscii to ==

Change-Id: I9d6eda7f9b047b3d96c80c8dfc8c51b54ee04405
sal_uInt16 to sal_uInt32 + some const

Change-Id: I12b04ab7ce15a9a30db6e4dafd64a31f4fca8a88
Avoid temporary OUStrings

Change-Id: I8792fce9571ac749cec93a615d6c65bf2e086aea
Use more proper integer types, constify, avoid unneeded conversions

Change-Id: Iaa20e4ecfa0120a443c7079aa6738b8b48c572b1
OUString: constify and avoid temporaries

Change-Id: I20f049ba275225b6429b630dbff07d0eba5522a3
sal_uInt16 to size_t

Change-Id: Ia2e6b067884bcbab680925b8613dd5a73d1fc3fb
OUString: constify, avoid temporaries and buffers

Change-Id: I0bbfbb7785b4b8553d7472da15726538040af22e
Fix loop test and evaluate token count just once

Change-Id: I354cbb729eed9b78c4af3d684513c3338be4f532