summaryrefslogtreecommitdiff
path: root/mailnews/mime/src/mimemult.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mailnews/mime/src/mimemult.cpp')
-rw-r--r--mailnews/mime/src/mimemult.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/mailnews/mime/src/mimemult.cpp b/mailnews/mime/src/mimemult.cpp
index 4695ba9910..c92cc44dcf 100644
--- a/mailnews/mime/src/mimemult.cpp
+++ b/mailnews/mime/src/mimemult.cpp
@@ -16,10 +16,6 @@
#include "nsMimeTypes.h"
#include <ctype.h>
-#ifdef XP_MACOSX
- extern MimeObjectClass mimeMultipartAppleDoubleClass;
-#endif
-
#define MIME_SUPERCLASS mimeContainerClass
MimeDefClass(MimeMultipart, MimeMultipartClass,
mimeMultipartClass, &MIME_SUPERCLASS);
@@ -492,19 +488,6 @@ MimeMultipart_create_child(MimeObject *obj)
{
status = body->clazz->parse_begin(body);
-#ifdef XP_MACOSX
- /* if we are saving an apple double attachment, we need to set correctly the conten type of the channel */
- if (mime_typep(obj, (MimeObjectClass *) &mimeMultipartAppleDoubleClass))
- {
- mime_stream_data *msd = (mime_stream_data *)body->options->stream_closure;
- if (!body->options->write_html_p && body->content_type && !PL_strcasecmp(body->content_type, APPLICATION_APPLEFILE))
- {
- if (msd && msd->channel)
- msd->channel->SetContentType(NS_LITERAL_CSTRING(APPLICATION_APPLEFILE));
- }
- }
-#endif
-
if (status < 0) return status;
}