sal_uInt16 to sal_Int32, constify

Change-Id: I1327f63674255e4320a2b47f054e1bedbfb3e5fd
sal_uInt16 to size_t

Change-Id: I17239af13884baee88b609c71703fa6e52853591
nFound is never read

Change-Id: I4cd243f7ea5ba53e5d341544ad0d7c17e425cfb5
Avoid temporary and reduce computations

Change-Id: I99577f9fbf74f5a54bbb1207c4f2d4eaadaeaae4
sal_uInt16 to size_t, constify

Change-Id: I4a331bfafc6b6468cf7147f8c09630735690f211
sal_uInt16 to more proper integer types, constify

Change-Id: I49208eea823600e37d18ac31e6f8bd6f497bda32
sal_uInt16 to long, constify

Change-Id: Ibb79555b0a767db7c7ee9c388337bbea9cdd7f5d
OUString::number was probably meant here (previously: valueOf)

Change-Id: I4804efd1c50bf332d9da86a37651d72ccc62294b
sal_uInt16 to more proper integer types, constify

Change-Id: Ie64a7c761a553e3a70250f56b26ea7de196ebc29
Prefer for loop to while

Change-Id: I1531674db1e438b6003fc49b8150cbadd10c04a1
sal_uInt16 to size_t

Change-Id: Ia36a8d833b697dad4f6bbc611b703efcda4b220c
sal_uInt16 to more proper types, constify, avoid unneeded casts

Change-Id: Ib7b6b9ac4c2b164984d1fd23dc8cf0905f244668
return bool instead of sal_uInt16 (0 or 1)

Change-Id: I3e8d014a2772b55793cd7ea4666aeb022e5b28e4
sal_uInt16/MSHORT to SwTwips/sal_Int32

Change-Id: Ie069f5203591e90210850bc7e5d3f03609df144c
Directly return the desired information

Change-Id: I099009585c0ad3de7e3e98e48c5a05fbded0b1bb
sal_uInt16 to more proper integer types

Change-Id: Ifc20d84d05ae270a586576da634929eb1ce088b7
sal_uInt16 to sal_Int32/size_t

Change-Id: I70e4f757696c370eb2243617e9bfb14d219b4782
sal_uInt16 to more proper types

Change-Id: I82826df7797197e5356e8620e6fbdda7558421ef
sal_uInt16 to size_t

Change-Id: Id048517a7da92e40a4037d2a379bf2418609efae
Simplify by early bail-out

Change-Id: Ie44e321692ddf306bf85c327420e28b31e1c055f