diff options
-rwxr-xr-x | compilerplugins/clang/unusedenumconstants.py | 1 | ||||
-rw-r--r-- | tools/source/inet/inetmime.cxx | 8 |
2 files changed, 2 insertions, 7 deletions
diff --git a/compilerplugins/clang/unusedenumconstants.py b/compilerplugins/clang/unusedenumconstants.py index df7c885107bc..3edf02ce9d66 100755 --- a/compilerplugins/clang/unusedenumconstants.py +++ b/compilerplugins/clang/unusedenumconstants.py @@ -106,6 +106,7 @@ for d in definitionSet: "include/vcl/bitmapex.hxx", # TransparentType "vcl/inc/sft.hxx", # CompositeFlags, WidthClass, WeightClass "vcl/inc/CommonSalLayout.hxx", # VerticalOrientation + "include/tools/fontenum.hxx", # part of GDI file format # unit test code "cppu/source/uno/check.cxx", # general weird nonsense going on diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index 0eb29f55d072..79cd0844a894 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -954,7 +954,7 @@ private: enum Coding { CODING_NONE, CODING_ENCODED, CODING_ENCODED_TERMINATED }; enum EncodedWordState { STATE_INITIAL, STATE_FIRST_EQUALS, - STATE_FIRST_QUESTION, STATE_CHARSET, + STATE_CHARSET, STATE_SECOND_QUESTION, STATE_ENCODING, STATE_THIRD_QUESTION, STATE_ENCODED_TEXT, STATE_FOURTH_QUESTION, STATE_SECOND_EQUALS, @@ -1411,12 +1411,6 @@ INetMIMEEncodedWordOutputSink::WriteUInt32(sal_uInt32 nChar) m_eEncodedWordState = STATE_BAD; break; - case STATE_FIRST_QUESTION: - if (isEncodedWordTokenChar(nChar)) - m_eEncodedWordState = STATE_CHARSET; - else - m_eEncodedWordState = STATE_BAD; - break; case STATE_CHARSET: if (nChar == '?') |