summaryrefslogtreecommitdiff
path: root/tools/source/inet
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-29 22:49:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-05 09:18:18 +0000
commit164b4ba0c713d09684e1381590179cd3dadce2b7 (patch)
treecaac9783aa9ac3e2c7a3574e426b1180ca62b4c4 /tools/source/inet
parentf731dc1e3506c78918b0965d77c3f51eaaf752ad (diff)
ByteString->rtl::OString[Buffer]
Diffstat (limited to 'tools/source/inet')
-rw-r--r--tools/source/inet/inetstrm.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/inet/inetstrm.cxx b/tools/source/inet/inetstrm.cxx
index 5345067aa0f8..557a32cc8865 100644
--- a/tools/source/inet/inetstrm.cxx
+++ b/tools/source/inet/inetstrm.cxx
@@ -304,12 +304,12 @@ int INetMessageIStream::GetMsgLine (sal_Char *pData, sal_uIntPtr nSize)
for (i = 0; i < n; i++)
{
INetMessageHeader aHeader (pSourceMsg->GetHeaderField(i));
- if (aHeader.GetValue().Len())
+ if (aHeader.GetValue().getLength())
{
// NYI: Folding long lines.
- *pMsgBuffer << (sal_Char*)(aHeader.GetName().GetBuffer());
+ *pMsgBuffer << aHeader.GetName().getStr();
*pMsgBuffer << ": ";
- *pMsgBuffer << (sal_Char*)(aHeader.GetValue().GetBuffer());
+ *pMsgBuffer << aHeader.GetValue().getStr();
*pMsgBuffer << "\r\n";
}
}