diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-27 23:28:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-28 13:53:35 +0100 |
commit | 46d1a28a2ed4ccfcbc8f6edaacd6e56f448dd4ea (patch) | |
tree | 8226f85d2a1e87f2aba0e6c2a3562b4dd772aae3 /tools/source/inet | |
parent | 7439a9b7143457da833257b6e3368ef1b3f3322e (diff) |
tidy INetMessage a little
Change-Id: I506bcdc9d72d23c44b692717ee186f9718f5a388
Diffstat (limited to 'tools/source/inet')
-rw-r--r-- | tools/source/inet/inetmsg.cxx | 6 | ||||
-rw-r--r-- | tools/source/inet/inetstrm.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/source/inet/inetmsg.cxx b/tools/source/inet/inetmsg.cxx index 6f9c9ee07b14..4753ce488078 100644 --- a/tools/source/inet/inetmsg.cxx +++ b/tools/source/inet/inetmsg.cxx @@ -109,8 +109,8 @@ void INetMessage::ListCopy (const INetMessage &rMsg) void INetMessage::SetHeaderField_Impl ( INetMIME::HeaderFieldType eType, const rtl::OString &rName, - const UniString &rValue, - sal_uIntPtr &rnIndex) + const rtl::OUString &rValue, + sal_uIntPtr &rnIndex) { INetMIMEStringOutputSink aSink (0, STRING_MAXLEN); INetMIME::writeHeaderFieldBody ( @@ -329,7 +329,7 @@ static sal_uInt16 ParseMonth(const rtl::OString& rStr, sal_uInt16& nIndex) } sal_Bool INetRFC822Message::ParseDateField ( - const UniString& rDateFieldW, DateTime& rDateTime) + const rtl::OUString& rDateFieldW, DateTime& rDateTime) { rtl::OString aDateField(rtl::OUStringToOString(rDateFieldW, RTL_TEXTENCODING_ASCII_US)); diff --git a/tools/source/inet/inetstrm.cxx b/tools/source/inet/inetstrm.cxx index 683e67104f95..bb55a7aee493 100644 --- a/tools/source/inet/inetstrm.cxx +++ b/tools/source/inet/inetstrm.cxx @@ -1349,7 +1349,7 @@ int INetMIMEMessageStream::GetMsgLine (sal_Char *pData, sal_uIntPtr nSize) if (aContentType.Len()) { // Determine default Content-Type. - String aDefaultType; + UniString aDefaultType; pMsg->GetDefaultContentType (aDefaultType); if (aDefaultType.CompareIgnoreCaseToAscii ( |