There are some mysterious cases when a document can not be stored. The
with those cases is that sometimes they are reproducible once pro year
user. To allow getting more information in such cases an additional
logging mechanics is implemented.
The new methods allow to provide additional logging information while
setting the error. The suggested pattern is as following
SetError( nErr, ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(
OSL_LOG_PREFIX ) ) );