Monotone-Parent: 88abde23827bf8224db16cc732418d143787b3f6

Monotone-Revision: bcf0244d358523a4f4d16339d9ea38d4ce1114e2

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-10-14T12:01:29
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2009-10-14 12:01:29 +00:00
parent 3bdf3aacde
commit 4a3f7e384f
3 changed files with 4 additions and 10 deletions

View File

@ -323,7 +323,7 @@ static NSString *LDAPContactInfoAttribute = nil;
[response setHeader: @"text/plain; charset=utf-8"
forKey: @"Content-Type"];
responseString = [NSMutableString new];
responseString = [NSMutableString string];
// We sort our array - this is pretty useful for the Web
// interface of SOGo.
@ -353,7 +353,6 @@ static NSString *LDAPContactInfoAttribute = nil;
}
}
[response appendContentString: responseString];
[responseString release];
return response;
}

View File

@ -240,8 +240,7 @@
NSCalendarDate *startDate;
NSTimeZone *dtz;
title = [NSMutableString new];
[title autorelease];
title = [NSMutableString string];
dtz = [self displayTZ];
startDate = [_apt valueForKey: @"startDate"];

View File

@ -176,9 +176,7 @@
NSMutableArray *hours;
unsigned int h;
hours = [NSMutableArray new];
[hours autorelease];
hours = [NSMutableArray array];
for (h = startHour; h < (endHour + 1); h++)
[hours addObject: [NSNumber numberWithInt: h]];
@ -210,9 +208,7 @@
NSMutableArray *minutes;
unsigned int m;
minutes = [NSMutableArray new];
[minutes autorelease];
minutes = [NSMutableArray array];
for (m = 0; m < 60; m += 15)
[minutes addObject: [NSNumber numberWithInt: m]];