Remove unneeded casts

Change-Id: I2d69e8933883440bcb48439c6055c40dc140a429
Remove code commented-out since 2009

Change-Id: I99000430cde8e9f23c8f11341472548329555c85
OUString::number(1) == "1"

Change-Id: Ieaf4b12224b11914a88eb963e915a375747a1e23
OUString: constify, remove unneeded casts and concatenated appends"

Change-Id: I5f712c4c8bda937a0ae1f542dda1bc2b6879604e
Pass constant ASCII string directly

Change-Id: I011afefa52f77d914754e6ef99aa41fff28e8d2c
sal_uInt16 to sal_Int32/sal_uInt32 + constify

Change-Id: Id7ac0150841475d7fdc6c5b6a3e35cc01143aa23
OUString: reduce temporaries and constify

Change-Id: I6524ce5924c12223702440426eb98665ba8df2a5
Avoid temporary bool

Change-Id: I82b5f986b0a66aceb258960fd89bd5bf2754291a
Use more proper integer types + minor optimizations

Change-Id: I10df0245363715911d0eea2869a32a5ab849d3c4
This seems to be an infinite loop (never triggered?)

Change-Id: If619adcb5aa7951be159a387eaebf8553feb22e5
OUString: reduce temporaries/concatenated appends + minor optimizations

Change-Id: I30ea3ee112ef65555bfa5d7f2b8e908bb394ca58
Simplify generation of unique name

Change-Id: Ifed55197ed6836dfb16d958c7dd34afad6c4aca7
sal_uInt16 to sal_uInt32 + constify

Change-Id: I7b5035d6189d6b3a33f767a926b443760adb5be0
Remove unused OUStrings

Change-Id: I7c98a0113418ac82f0b91b373073c8a11b6f9740
OUString: constify and avoid temporaries

Change-Id: Iffff24e9d49f378b2ca6bb470d678ec0724f0594
Group common code for csv generation and simplify OUString handling

Though writing data incrementally without building the whole line would
be more efficient.

Change-Id: I396378c6f306f4ff0d10037f87c33005b7e4b640
sal_uInt16 to int

Change-Id: I8a27d7fc2cbdb3093e7955b80642675dc9b8ab55
OUString: constify, remove temporaries and concatenated appends

Change-Id: I7333d32a437a75a3fe9728591217258a2fa6c5e3
Use more proper integer types and constify

Change-Id: Ia1da4606c9c159741d5bb5f0e85750737ad7486d
Use SAL_N_ELEMENTS() for array size

Change-Id: Ifcdeb47b5481ca6c16cd5eb6eb35858e7b2261c5