bool improvements

Change-Id: I7ae2b02e435d21390843c6c56877a8ce3a73f9f2
(cherry picked from commit bd4053f895167978978023309925c85c3826b31a)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Adapt to sal/log.hxx

(cherry picked from commit 3c5d30c03b4b2d2c4d38d602afc839e7a922bca3)
Signed-off-by: Michael Stahl <mstahl@redhat.com>

Note: this avoids an abort() in smoketest due to leaking
SvxUnoTextRangeBase

Change-Id: I9c59495977e111d94077470f07591c91fa3c1665