summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tools/inetmime.hxx6
-rw-r--r--tools/source/inet/inetmime.cxx10
2 files changed, 8 insertions, 8 deletions
diff --git a/include/tools/inetmime.hxx b/include/tools/inetmime.hxx
index 7190c386d0de..0e0269a9dacf 100644
--- a/include/tools/inetmime.hxx
+++ b/include/tools/inetmime.hxx
@@ -995,7 +995,7 @@ public:
~INetMIMEEncodedWordOutputSink();
- INetMIMEEncodedWordOutputSink & operator <<(sal_uInt32 nChar);
+ INetMIMEEncodedWordOutputSink & WriteUInt32(sal_uInt32 nChar);
inline void write(const sal_Char * pBegin, const sal_Char * pEnd);
@@ -1032,7 +1032,7 @@ inline void INetMIMEEncodedWordOutputSink::write(const sal_Char * pBegin,
"INetMIMEEncodedWordOutputSink::write(): Bad sequence");
while (pBegin != pEnd)
- operator <<(*pBegin++);
+ WriteUInt32(*pBegin++);
}
inline void INetMIMEEncodedWordOutputSink::write(const sal_Unicode * pBegin,
@@ -1042,7 +1042,7 @@ inline void INetMIMEEncodedWordOutputSink::write(const sal_Unicode * pBegin,
"INetMIMEEncodedWordOutputSink::write(): Bad sequence");
while (pBegin != pEnd)
- operator <<(*pBegin++);
+ WriteUInt32(*pBegin++);
}
inline bool INetMIMEEncodedWordOutputSink::flush()
diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx
index 1772e0f7c317..f39bc6228e77 100644
--- a/tools/source/inet/inetmime.cxx
+++ b/tools/source/inet/inetmime.cxx
@@ -1712,7 +1712,7 @@ void INetMIME::writeHeaderFieldBody(INetMIMEOutputSink & rSink,
if (++pBodyPtr == pBodyEnd)
break;
default:
- aOutput << *pBodyPtr++;
+ aOutput.WriteUInt32( *pBodyPtr++ );
break;
}
comment_done:
@@ -2334,16 +2334,16 @@ void INetMIME::writeHeaderFieldBody(INetMIMEOutputSink & rSink,
case '\\':
if (++pStart != pBodyPtr)
- aOutput << *pStart++;
+ aOutput.WriteUInt32( *pStart++ );
break;
case '\x0D': // CR
pStart += 2;
- aOutput << *pStart++;
+ aOutput.WriteUInt32( *pStart++ );
break;
default:
- aOutput << *pStart++;
+ aOutput.WriteUInt32( *pStart++ );
break;
}
bInitialSpace = aOutput.flush();
@@ -3520,7 +3520,7 @@ INetMIMEEncodedWordOutputSink::~INetMIMEEncodedWordOutputSink()
}
INetMIMEEncodedWordOutputSink &
-INetMIMEEncodedWordOutputSink::operator <<(sal_uInt32 nChar)
+INetMIMEEncodedWordOutputSink::WriteUInt32(sal_uInt32 nChar)
{
if (nChar == ' ')
{