summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-17 19:26:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-17 22:22:33 +0200
commit68bcfd067a5271dd587a0a65d94a0bff257799a5 (patch)
treeaaadcb96cf02c3a7869383b8b31c16b3a1fb426c
parentf4fb4c531dd89efbda672fc7e6d62fc3727a6b69 (diff)
SPACE_ENCODED has become unused
Change-Id: I878bd07981686cab58906ccc1db1c4b3f47f8190
-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 << ' ';