From 3354a88c47d8714e429f41a4aebe5b52dec8e49e Mon Sep 17 00:00:00 2001 From: C Robert Date: Tue, 2 Jun 2009 14:40:50 +0000 Subject: [PATCH] Reindent Monotone-Parent: 2e82af935f99a50853aa4b3dfee4ab97d8f9fc66 Monotone-Revision: 73b8ecc6d6621856d5066773cd34a3de9ba7df47 Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-06-02T14:40:50 Monotone-Branch: ca.inverse.sogo --- .../Appointments/SOGoAppointmentFolder.m | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index 3a6aeeaf3..f8776336f 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -880,27 +880,27 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir while ((currentRecord = [ma nextObject])) { accessClass - = [[currentRecord objectForKey: @"c_classification"] intValue]; + = [[currentRecord objectForKey: @"c_classification"] intValue]; role = roles[accessClass]; if (!role) - { - fullRole = [self roleForComponentsWithAccessClass: accessClass - forUser: uid]; - if ([fullRole length] > 9) - role = [fullRole substringFromIndex: 9]; - roles[accessClass] = role; - } + { + fullRole = [self roleForComponentsWithAccessClass: accessClass + forUser: uid]; + if ([fullRole length] > 9) + role = [fullRole substringFromIndex: 9]; + roles[accessClass] = role; + } if ([role isEqualToString: @"DAndTViewer"]) - [currentRecord removeObjectsForKeys: stripFields]; + [currentRecord removeObjectsForKeys: stripFields]; } } - (NSArray *) fetchFields: (NSArray *) _fields - from: (NSCalendarDate *) _startDate - to: (NSCalendarDate *) _endDate - title: (NSString *) title - component: (id) _component - additionalFilters: (NSString *) filters + from: (NSCalendarDate *) _startDate + to: (NSCalendarDate *) _endDate + title: (NSString *) title + component: (id) _component + additionalFilters: (NSString *) filters includeProtectedInformation: (BOOL) _includeProtectedInformation { EOQualifier *qualifier; @@ -928,11 +928,11 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir if (_startDate) { if (_endDate) - endDate = _endDate; + endDate = _endDate; else - endDate = [NSCalendarDate distantFuture]; + endDate = [NSCalendarDate distantFuture]; r = [NGCalendarDateRange calendarDateRangeWithStartDate: _startDate - endDate: endDate]; + endDate: endDate]; dateSqlString = [self _sqlStringRangeFrom: _startDate to: endDate]; } else @@ -995,14 +995,14 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir records = [folder fetchFields: fields matchingQualifier: qualifier]; if (records) - { - if (r) - records = [self fixupCyclicRecords: records fetchRange: r]; - if (ma) - [ma addObjectsFromArray: records]; - else - ma = [NSMutableArray arrayWithArray: records]; - } + { + if (r) + records = [self fixupCyclicRecords: records fetchRange: r]; + if (ma) + [ma addObjectsFromArray: records]; + else + ma = [NSMutableArray arrayWithArray: records]; + } } if (!ma) {