This reverts commit 56ff07a7, the correct fix is d19598b5 "Adapt ImplicitBoolConversion to 32-bit builds (where sal_Int32 is long)."