#i124422# fix implicit conversions to pointer from bool/int32

implicit conversions from bool or int32 to pointer types are not a good idea
and clang>=3.4 or xcode>=5.1 now report errors for such code. The errors break
the build and so they have to be fixed.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1594864 13f79535-47bb-0310-9956-ffa450edef68