From c96707d859750b43a87223cfad434fdbc221cb65 Mon Sep 17 00:00:00 2001 From: wolfgang Date: Mon, 23 Jul 2007 15:57:12 +0000 Subject: [PATCH] git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1119 d1b88da0-ebda-0310-925b-ed51d893ca5b --- SOPE/NGCards/IcalElements.m | 9 ++++++++- SOPE/NGCards/IcalResponse.m | 3 +-- SOPE/NGCards/NGCardsSaxHandler.m | 10 +++++----- SOPE/NGCards/iCalRepeatableEntityObject.m | 14 ++++++++++---- 4 files changed, 24 insertions(+), 12 deletions(-) diff --git a/SOPE/NGCards/IcalElements.m b/SOPE/NGCards/IcalElements.m index f66952b6..1ff018f3 100644 --- a/SOPE/NGCards/IcalElements.m +++ b/SOPE/NGCards/IcalElements.m @@ -19,7 +19,14 @@ 02111-1307, USA. */ -#include +#import +#import +#import +#import + +#import +#import +#import @interface IcalComponent : WODynamicElement { diff --git a/SOPE/NGCards/IcalResponse.m b/SOPE/NGCards/IcalResponse.m index 1e90c2b2..843fe43e 100644 --- a/SOPE/NGCards/IcalResponse.m +++ b/SOPE/NGCards/IcalResponse.m @@ -19,8 +19,7 @@ 02111-1307, USA. */ -#include "IcalResponse.h" -#import +#import "IcalResponse.h" @implementation IcalResponse diff --git a/SOPE/NGCards/NGCardsSaxHandler.m b/SOPE/NGCards/NGCardsSaxHandler.m index d961c956..e91cb36c 100644 --- a/SOPE/NGCards/NGCardsSaxHandler.m +++ b/SOPE/NGCards/NGCardsSaxHandler.m @@ -21,6 +21,7 @@ #import #import +#import #import "NGCardsSaxHandler.h" @@ -44,10 +45,9 @@ - (void) dealloc { if (content) - free(content); + free (content); [cards release]; - if (currentGroup) - [currentGroup release]; + [currentGroup release]; [super dealloc]; } @@ -64,7 +64,7 @@ { if (content) { - free(content); + free (content); content = NULL; } @@ -227,7 +227,7 @@ - (void) startCollectingContent { if (content) { - free(content); + free (content); content = NULL; } vcs.collectContent = 1; diff --git a/SOPE/NGCards/iCalRepeatableEntityObject.m b/SOPE/NGCards/iCalRepeatableEntityObject.m index 2b36288c..90d1183b 100644 --- a/SOPE/NGCards/iCalRepeatableEntityObject.m +++ b/SOPE/NGCards/iCalRepeatableEntityObject.m @@ -19,10 +19,16 @@ 02111-1307, USA. */ -#include "iCalRepeatableEntityObject.h" -#include -#include "iCalRecurrenceRule.h" -#include "iCalRecurrenceCalculator.h" +#import +#import +#import +#import + +#import + +#import "iCalRecurrenceRule.h" +#import "iCalRecurrenceCalculator.h" +#import "iCalRepeatableEntityObject.h" @implementation iCalRepeatableEntityObject -- 2.39.5