diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-04-26 21:54:19 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-04-26 21:54:19 +0200 |
commit | 77b5d028b30bafc579d7ea6ccb5955a40345da8e (patch) | |
tree | 2247a92db61eea72bbe72610d160677a0bd7c7a9 /framework | |
parent | 22524c37d6e66757372dba609587e3c122d34dc3 (diff) | |
download | kube-77b5d028b30bafc579d7ea6ccb5955a40345da8e.tar.gz kube-77b5d028b30bafc579d7ea6ccb5955a40345da8e.zip |
Removed empty formatter
Diffstat (limited to 'framework')
-rw-r--r-- | framework/src/domain/mime/mimetreeparser/bodypartformatter_impl.cpp | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/framework/src/domain/mime/mimetreeparser/bodypartformatter_impl.cpp b/framework/src/domain/mime/mimetreeparser/bodypartformatter_impl.cpp index a6713fef..3522a144 100644 --- a/framework/src/domain/mime/mimetreeparser/bodypartformatter_impl.cpp +++ b/framework/src/domain/mime/mimetreeparser/bodypartformatter_impl.cpp | |||
@@ -72,21 +72,6 @@ public: | |||
72 | 72 | ||
73 | const AnyTypeBodyPartFormatter *AnyTypeBodyPartFormatter::self = nullptr; | 73 | const AnyTypeBodyPartFormatter *AnyTypeBodyPartFormatter::self = nullptr; |
74 | 74 | ||
75 | class ImageTypeBodyPartFormatter : public MimeTreeParser::Interface::BodyPartFormatter | ||
76 | { | ||
77 | static const ImageTypeBodyPartFormatter *self; | ||
78 | public: | ||
79 | static const MimeTreeParser::Interface::BodyPartFormatter *create() | ||
80 | { | ||
81 | if (!self) { | ||
82 | self = new ImageTypeBodyPartFormatter(); | ||
83 | } | ||
84 | return self; | ||
85 | } | ||
86 | }; | ||
87 | |||
88 | const ImageTypeBodyPartFormatter *ImageTypeBodyPartFormatter::self = nullptr; | ||
89 | |||
90 | class MessageRfc822BodyPartFormatter | 75 | class MessageRfc822BodyPartFormatter |
91 | : public MimeTreeParser::Interface::BodyPartFormatter | 76 | : public MimeTreeParser::Interface::BodyPartFormatter |
92 | { | 77 | { |
@@ -147,7 +132,7 @@ void BodyPartFormatterBaseFactoryPrivate::messageviewer_create_builtin_bodypart_ | |||
147 | insert("text", "*", MailmanBodyPartFormatter::create()); | 132 | insert("text", "*", MailmanBodyPartFormatter::create()); |
148 | insert("text", "*", TextPlainBodyPartFormatter::create()); | 133 | insert("text", "*", TextPlainBodyPartFormatter::create()); |
149 | 134 | ||
150 | insert("image", "*", ImageTypeBodyPartFormatter::create()); | 135 | insert("image", "*", AnyTypeBodyPartFormatter::create()); |
151 | 136 | ||
152 | insert("message", "rfc822", MessageRfc822BodyPartFormatter::create()); | 137 | insert("message", "rfc822", MessageRfc822BodyPartFormatter::create()); |
153 | insert("message", "*", AnyTypeBodyPartFormatter::create()); | 138 | insert("message", "*", AnyTypeBodyPartFormatter::create()); |