diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-20 11:37:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-20 12:57:34 +0000 |
commit | 55a40209072bac2526e74d5be7dd7be5ccd2c175 (patch) | |
tree | 3dd0257a893fcd6ff16ab164608b952f65041a94 /tools/source/inet/inetmime.cxx | |
parent | callcatcher: update list, I suspect SvLBoxBmp cannot be instantiated (diff) | |
download | core-55a40209072bac2526e74d5be7dd7be5ccd2c175.tar.gz core-55a40209072bac2526e74d5be7dd7be5ccd2c175.zip |
remove ToDouble/ToFloat
Diffstat (limited to 'tools/source/inet/inetmime.cxx')
-rw-r--r-- | tools/source/inet/inetmime.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index a711e4adc0a9..531d5fc3c3c1 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -1947,7 +1947,7 @@ void INetMIME::writeUTF8(INetMIMEOutputSink & rSink, sal_uInt32 nChar) // static void INetMIME::writeHeaderFieldBody(INetMIMEOutputSink & rSink, HeaderFieldType eType, - const UniString & rBody, + const rtl::OUString& rBody, rtl_TextEncoding ePreferredEncoding, bool bInitialSpace) { @@ -1959,7 +1959,7 @@ void INetMIME::writeHeaderFieldBody(INetMIMEOutputSink & rSink, INetMIMEEncodedWordOutputSink::SPACE_ALWAYS : INetMIMEEncodedWordOutputSink::SPACE_NO, ePreferredEncoding); - aOutput.write(rBody.GetBuffer(), rBody.GetBuffer() + rBody.Len()); + aOutput.write(rBody.getStr(), rBody.getStr() + rBody.getLength()); aOutput.flush(); } else @@ -1967,8 +1967,8 @@ void INetMIME::writeHeaderFieldBody(INetMIMEOutputSink & rSink, enum Brackets { BRACKETS_OUTSIDE, BRACKETS_OPENING, BRACKETS_INSIDE }; Brackets eBrackets = BRACKETS_OUTSIDE; - const sal_Unicode * pBodyPtr = rBody.GetBuffer(); - const sal_Unicode * pBodyEnd = pBodyPtr + rBody.Len(); + const sal_Unicode * pBodyPtr = rBody.getStr(); + const sal_Unicode * pBodyEnd = pBodyPtr + rBody.getLength(); while (pBodyPtr != pBodyEnd) switch (*pBodyPtr) { @@ -2757,7 +2757,7 @@ bool INetMIME::translateUTF8Char(const sal_Char *& rBegin, //============================================================================ // static -UniString INetMIME::decodeHeaderFieldBody(HeaderFieldType eType, +rtl::OUString INetMIME::decodeHeaderFieldBody(HeaderFieldType eType, const rtl::OString& rBody) { // Due to a bug in INetCoreRFC822MessageStream::ConvertTo7Bit(), old |