Remove unneeded xub_StrLen cast

Change-Id: Ia26f220fa7857f14dfc89b2929f60669ade3b4ea
Use std::min + rename Ende to End

Change-Id: I835d661a5bd30c235fdf61a94ad73f85b57bf9ed
Prefer += and -=

Change-Id: I0b1ba2e7c8287340eebec7eb9b3e1aea8945d82f
Improve formatting

Change-Id: I0cb8eb5b78ef5ca10d6b8765bff387ca09ec291c
Avoid temporary, just return the result

Change-Id: I644abe042175168dab489476a41254fba6883982
xub_StrLen to sal_Int32

Change-Id: I8ad8cade0b2cbc29a934a983c72d25f7f00af6bc
STRING_LEN is no more the maximum string length + some cleanups

Change-Id: Idbdfb4dd39ce5e419f7b9338db39ddda186d014d
Reduce scope of some variables

Change-Id: I2e2b10f95582c2c155ca78d4c7818ac38faa7a61
Bail out early

Change-Id: Ic0bb06e3d64933df4887ce1402f62c16e917fdbd
Remove temporary and update assertion condition

Change-Id: I0714b21cfda04bbaee0a7bd9ec485b3569a7ea4d