summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/source/inet/inetmime.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx
index ba600dd6bb02..ea0d7ad1b916 100644
--- a/tools/source/inet/inetmime.cxx
+++ b/tools/source/inet/inetmime.cxx
@@ -350,7 +350,7 @@ public:
CONTEXT_COMMENT = 2,
CONTEXT_PHRASE = 4 };
- enum Space { SPACE_NO, SPACE_ENCODED, SPACE_ALWAYS };
+ enum Space { SPACE_NO, SPACE_ALWAYS };
private:
enum { BUFFER_SIZE = 256 };
@@ -584,8 +584,6 @@ void INetMIMEEncodedWordOutputSink::finish(bool bWriteTrailer)
case CODING_QUOTED:
m_rSink << '"';
case CODING_NONE:
- if (m_eInitialSpace == SPACE_ENCODED && m_nExtraSpaces == 0)
- m_nExtraSpaces = 1;
while (m_nExtraSpaces-- > 0)
{
m_rSink << ' ';
@@ -691,9 +689,6 @@ void INetMIMEEncodedWordOutputSink::finish(bool bWriteTrailer)
case CODING_QUOTED:
m_rSink << '"';
case CODING_NONE:
- if (m_eInitialSpace == SPACE_ENCODED
- && m_nExtraSpaces == 0)
- m_nExtraSpaces = 1;
while (m_nExtraSpaces-- > 0)
{
m_rSink << ' ';