From 68bcfd067a5271dd587a0a65d94a0bff257799a5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 17 Sep 2015 19:26:12 +0200 Subject: SPACE_ENCODED has become unused Change-Id: I878bd07981686cab58906ccc1db1c4b3f47f8190 --- tools/source/inet/inetmime.cxx | 7 +------ 1 file changed, 1 insertion(+), 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 << ' '; -- cgit v1.2.3