From: wolfgang Date: Fri, 27 Jul 2007 17:36:15 +0000 (+0000) Subject: git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1125 d1b88da0-ebda-0310... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9ce4b9165741d338429a6b25fddd5940a3f6377;p=scalable-opengroupware.org git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1125 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/UI/MailerUI/UIxMailForwardAction.m b/UI/MailerUI/UIxMailForwardAction.m index 9719f44c..29daff75 100644 --- a/UI/MailerUI/UIxMailForwardAction.m +++ b/UI/MailerUI/UIxMailForwardAction.m @@ -19,14 +19,19 @@ 02111-1307, USA. */ -#include "UIxMailEditorAction.h" +#import +#import + +#import + +#import +#import + +#import "UIxMailEditorAction.h" @interface UIxMailForwardAction : UIxMailEditorAction @end -#include -#include -#include "common.h" @implementation UIxMailForwardAction @@ -65,7 +70,7 @@ - (id)forwardAction { NSException *error; NSData *content; - NSDictionary *info; + NSDictionary *info, *attachment; id result; /* fetch message */ @@ -86,13 +91,13 @@ [self forwardSubject:[[self clientObject] subject]], @"subject", nil]; - if ((error = [self->newDraft storeInfo:info]) != nil) + if ((error = [newDraft storeInfo:info]) != nil) return error; /* attach message */ // TODO: use subject for filename? - error = [self->newDraft saveAttachment:content withName:@"forward.mail"]; + error = [newDraft saveAttachment:content withName:@"forward.mail"]; if (error != nil) return error;