bool improvements

Change-Id: I989302c6774c4dd01dff3f682bd4b681fc9141df
bool improvements

Change-Id: If7deafb3b2977b2efad53d6d87d2afa524475d4b
bool improvements

Change-Id: I65ad52e4dee12a94d48ff0f5858e29df7f8d9721
bool improvements

Change-Id: Id242594559883654aa8cb78fc15b81f78ed803ee
bool improvements

Change-Id: Iab6343064ad002bd11660aeb8c88c54562109cbc
bool improvements

Change-Id: Ic5d82c2361a79a19f6675db30ea06dde91123ac1
bool improvements

Change-Id: I2a0980a603822ffdf74a38ba0b41ba27a6830861
bool improvements

Change-Id: Ib65a1e987ad6511e90fd66a36c0105593a1df27c
Let C++ inline functions return bool instead of sal_Bool

...to improve diagnosing misuses of boolean expressions in client code (cf.
compilerplugins/clang/implicitboolconversion.cxx).  This change should be
transparent to client code.

Change-Id: Ife614637082036dd17412f247be79233326c4f0b
implicitboolconversion: also warn about mixing bool/sal_Bool in == etc.

...as MSVC would warn about those anyway (at least about cases that do not
compare against literal sal_True/sal_False, but warning even about those helped
clean up lots of redundant

  if (foo == true)

instead of just

  if (foo)

etc. across the code base).

Change-Id: Iad4b335c35c5411070f04f87f974db7942c288d4