convert some sal_uInt8 fields to bool

Change-Id: Icd5845367157cc0b0c9342c6037b199c49432a76
cid#1194914 Overflowed return value

Change-Id: I0f06d0c631632e2dcbba706a17830033aae6f365