#i123817# boost::shared_ptr doesn't have an implicit conversion to bool

Constructs that expect it fail at least in XCode4's clang in C++11 mode.
An implicit conversion from pointer to bool is already suspicious enough
and a shared_ptr->pointer->bool conversion is even worse. Cleaning up
the code fixes the build breaker seen in boost/libc++/clang environments.


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