From c9ce4b9165741d338429a6b25fddd5940a3f6377 Mon Sep 17 00:00:00 2001 From: wolfgang Date: Fri, 27 Jul 2007 17:36:15 +0000 Subject: [PATCH] git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1125 d1b88da0-ebda-0310-925b-ed51d893ca5b --- UI/MailerUI/UIxMailForwardAction.m | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) 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; -- 2.39.5