diff --git a/mailnews/mime/emitters/src/nsMimeXULEmitter.cpp b/mailnews/mime/emitters/src/nsMimeXULEmitter.cpp index e4f433c98fa..d7932371d32 100644 --- a/mailnews/mime/emitters/src/nsMimeXULEmitter.cpp +++ b/mailnews/mime/emitters/src/nsMimeXULEmitter.cpp @@ -134,7 +134,6 @@ nsMimeXULEmitter::~nsMimeXULEmitter(void) delete mBodyFileSpec; } - // Attachment handling routines nsresult nsMimeXULEmitter::StartAttachment(const char *name, const char *contentType, const char *url) @@ -618,34 +617,6 @@ nsMimeXULEmitter::DumpAttachmentMenu() UtilityWriteCRLF(""); UtilityWriteCRLF(""); - UtilityWriteCRLF(""); - UtilityWriteCRLF(""); - - for (i=0; iCount(); i++) - { - attachmentInfoType *attachInfo = (attachmentInfoType - *)mAttachArray->ElementAt(i); - if (!attachInfo) - continue; - - UtilityWrite("displayName); - UtilityWrite("\" oncommand=\"SaveAttachURL('"); - escapedUrl = nsEscape(attachInfo->urlSpec, url_Path); - if (escapedUrl) - { - UtilityWrite(escapedUrl); - nsCRT::free(escapedUrl); - } - else - { - UtilityWrite(attachInfo->urlSpec); - } - UtilityWriteCRLF("' );\" />"); - } - UtilityWriteCRLF(""); - UtilityWriteCRLF(""); - UtilityWriteCRLF(""); }