diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-16 21:20:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-17 23:04:10 +0000 |
commit | c4927a1b76b728b2208c29d09dbf54e70bb26e13 (patch) | |
tree | c87d31d69e17414ad70da8b01249430612b2fbc4 /tools/inc | |
parent | 7bab4645ce08e9cb41b38a983c57a514358b71ec (diff) |
ByteString->rtl::OString[Buffer]
Diffstat (limited to 'tools/inc')
-rw-r--r-- | tools/inc/tools/inetmsg.hxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/tools/inc/tools/inetmsg.hxx b/tools/inc/tools/inetmsg.hxx index b06541a8323d..610b804e7502 100644 --- a/tools/inc/tools/inetmsg.hxx +++ b/tools/inc/tools/inetmsg.hxx @@ -80,26 +80,16 @@ public: friend SvStream& operator<< ( SvStream& rStrm, const INetMessageHeader& rHdr) { -#ifdef ENABLE_BYTESTRING_STREAM_OPERATORS - rStrm << rHdr.m_aName; - rStrm << rHdr.m_aValue; -#else rStrm.WriteByteString (rHdr.m_aName); rStrm.WriteByteString (rHdr.m_aValue); -#endif return rStrm; } friend SvStream& operator>> ( SvStream& rStrm, INetMessageHeader& rHdr) { -#ifdef ENABLE_BYTESTRING_STREAM_OPERATORS - rStrm >> rHdr.m_aName; - rStrm >> rHdr.m_aValue; -#else rStrm.ReadByteString (rHdr.m_aName); rStrm.ReadByteString (rHdr.m_aValue); -#endif return rStrm; } }; @@ -160,7 +150,7 @@ protected: void SetHeaderField_Impl ( INetMIME::HeaderFieldType eType, - const ByteString &rName, + const rtl::OString &rName, const UniString &rValue, sal_uIntPtr &rnIndex); |