diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-05 09:01:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-05 09:01:40 +0100 |
commit | b540dc49a69a80bcc4160037198a5fb945969cb4 (patch) | |
tree | dffa8dd8e7288bedc72f53fcc52a9ab56b231c39 | |
parent | can replace ScfTools::AppendCString with SvStream::ReadCString (diff) | |
download | core-b540dc49a69a80bcc4160037198a5fb945969cb4.tar.gz core-b540dc49a69a80bcc4160037198a5fb945969cb4.zip |
conversion operator gone
-rw-r--r-- | comphelper/source/misc/documentinfo.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/misc/namedvaluecollection.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/misc/documentinfo.cxx b/comphelper/source/misc/documentinfo.cxx index a9b9a85f7f69..46bc112578ee 100644 --- a/comphelper/source/misc/documentinfo.cxx +++ b/comphelper/source/misc/documentinfo.cxx @@ -187,7 +187,7 @@ namespace comphelper { sMessage += "\nin function:\n"; sMessage += BOOST_CURRENT_FUNCTION; sMessage += "\n"; - OSL_FAIL( sMessage ); + OSL_FAIL( sMessage.getStr() ); } return sTitle; diff --git a/comphelper/source/misc/namedvaluecollection.cxx b/comphelper/source/misc/namedvaluecollection.cxx index 6ed6cd1af22e..ff7aa8c7a8d0 100644 --- a/comphelper/source/misc/namedvaluecollection.cxx +++ b/comphelper/source/misc/namedvaluecollection.cxx @@ -211,7 +211,7 @@ namespace comphelper ::rtl::OStringBuffer message; message.append( "NamedValueCollection::impl_assign: encountered a value type which I cannot handle:\n" ); message.append( ::rtl::OUStringToOString( pArgument->getValueTypeName(), RTL_TEXTENCODING_ASCII_US ) ); - OSL_FAIL( message.makeStringAndClear() ); + OSL_FAIL( message.getStr() ); } #endif } |