summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-05 09:01:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-05 09:01:40 +0100
commitb540dc49a69a80bcc4160037198a5fb945969cb4 (patch)
treedffa8dd8e7288bedc72f53fcc52a9ab56b231c39 /comphelper
parent253576484ff4c991a1a1299c71cb8cfb463d2c83 (diff)
conversion operator gone
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/documentinfo.cxx2
-rw-r--r--comphelper/source/misc/namedvaluecollection.cxx2
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
}