From b498c8ff244002945dd0708832b718eb8e11b70b Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 15 Apr 2008 15:00:14 +0000 Subject: [PATCH] Monotone-Parent: 0508e0037d1a44a60737fdd18b1830b167d7ab72 Monotone-Revision: e0c7704c039513e9d35441827fe46a04a1a4f5f7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-04-15T15:00:14 Monotone-Branch: ca.inverse.sogo --- SoObjects/Contacts/SOGoFolder+CardDAV.m | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/SoObjects/Contacts/SOGoFolder+CardDAV.m b/SoObjects/Contacts/SOGoFolder+CardDAV.m index 8d2fb90ee..bc2518a90 100644 --- a/SoObjects/Contacts/SOGoFolder+CardDAV.m +++ b/SoObjects/Contacts/SOGoFolder+CardDAV.m @@ -43,24 +43,22 @@ NSDictionary *currentFilter, *contact; NSEnumerator *contacts; NSString *baseURL; - SOGoObject *o; - o = (id ) self; - baseURL = [o baseURLInContext: localContext]; + baseURL = [self baseURLInContext: localContext]; max = [filters count]; for (count = 0; count < max; count++) { currentFilter = [filters objectAtIndex: count]; - contacts = [[o lookupContactsWithFilter: [[currentFilter allValues] lastObject] - sortBy: @"c_givenname" - ordering: NSOrderedDescending] + contacts = [[self lookupContactsWithFilter: [[currentFilter allValues] lastObject] + sortBy: @"c_givenname" + ordering: NSOrderedDescending] objectEnumerator]; while ((contact = [contacts nextObject])) - [o appendObject: contact - withBaseURL: baseURL - toREPORTResponse: response]; + [self appendObject: contact + withBaseURL: baseURL + toREPORTResponse: response]; } }