WaE: implicit conversion (IntegralCast) from bool to 'int'

Change-Id: I75d079a34355454a6e6b741f029c5ec37c149b17
WaE: implicit conversion (IntegralCast) from bool to 'sal_uInt16'

Change-Id: If6c41795a4015eb6bdd6bf785dd5ea6f7069e76b