From 4e7e0403b737b0cd793fa5aaeb72dbb697125f5d Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Wed, 23 Mar 2011 11:28:36 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: d4aaec9a2984bf8eb954d457c1dde92899b63a7a Monotone-Revision: b225fa0fff99cfbcbe27145aabf8fdfde0810371 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-03-23T11:28:36 Monotone-Branch: ca.inverse.sogo --- SOPE/NGCards/ChangeLog | 6 ++++++ SOPE/NGCards/iCalRepeatableEntityObject.m | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/SOPE/NGCards/ChangeLog b/SOPE/NGCards/ChangeLog index 86dab1f70..92f6299ac 100644 --- a/SOPE/NGCards/ChangeLog +++ b/SOPE/NGCards/ChangeLog @@ -1,3 +1,9 @@ +2011-03-23 Francis Lachapelle + + * iCalRepeatableEntityObject.m (-removeAllExceptionDates): don't + use the method "exceptionDates" since it returns an array of + strings and not CardElement instances. + 2011-03-20 Wolfgang Sourdeau * CardGroup.m (-removeChild:, -removeChildren:): new diff --git a/SOPE/NGCards/iCalRepeatableEntityObject.m b/SOPE/NGCards/iCalRepeatableEntityObject.m index 35fd63394..c264d9791 100644 --- a/SOPE/NGCards/iCalRepeatableEntityObject.m +++ b/SOPE/NGCards/iCalRepeatableEntityObject.m @@ -106,7 +106,7 @@ - (void) removeAllExceptionDates { - [self removeChildren: [self exceptionDates]]; + [self removeChildren: [self childrenWithTag: @"exdate"]]; } - (void) addToExceptionDates: (NSCalendarDate *) _rdate