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

Change-Id: I5089279745c4247ec0006f2273f6ec3d40d7c2a2
WaE: implicit conversion (IntegralCast) from bool to 'int'

The bIncludeUntil parameter is used as a bool, so make it a bool. It is passed
bool values anyway.

Change-Id: If477419e8d94af69ad2bd5b452819e83a5a8149f
More EndDialog() cleanup

Change-Id: I2e79190936d1eb7f55b521d2ce558fba45bf5f28