Apache OpenOffice (AOO) Bugzilla – Issue 124131
use smart pointer's bool operator instead of comparing its content against NULL
Last modified: 2017-05-20 10:35:45 UTC
Implicit conversions of NULL to e.g. boost::detail::sp_nullptr_t result in warnings that can and should be avoided by using the smart pointers bool operator. This boolean check has to be done explicitly because the bool operator is marked as "explicit" for compilers that support this C++11 feature.
"hdu" committed SVN revision 1562080 into trunk: #i124131# use smart pointer's bool operator instead of comparing its content ...
Fixed for boost's smart pointers with the commit above.
Verified: Still fixed in the AOO410 release candidate.