mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 08:34:30 +00:00
Monotone-Parent: c2917386cf94357b49f5e5a5a2546c5d884cd132
Monotone-Revision: e14d9f62a6ec2d7e8788ee6cf73d4a47312b8531 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-02-24T20:15:57 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -142,7 +142,6 @@
|
||||
- (void) dealloc
|
||||
{
|
||||
[content release];
|
||||
[MAPIContent release];
|
||||
[creationDate release];
|
||||
[lastModified release];
|
||||
[super dealloc];
|
||||
@@ -379,7 +378,10 @@
|
||||
http://www.sogo.nu/bugs/view.php?id=915:
|
||||
|
||||
length = [content lengthOfBytesUsingEncoding: NSUTF8StringEncoding]; */
|
||||
length = strlen ([content UTF8String]);
|
||||
if (content)
|
||||
length = strlen ([content UTF8String]);
|
||||
else
|
||||
length = 0;
|
||||
|
||||
return [NSString stringWithFormat: @"%u", length];
|
||||
}
|
||||
@@ -481,16 +483,4 @@
|
||||
return @"<default>";
|
||||
}
|
||||
|
||||
/* MAPI support */
|
||||
- (NSString *) MAPIContent
|
||||
{
|
||||
return MAPIContent;
|
||||
}
|
||||
|
||||
- (void) setMAPIContent: (NSString *) theContent
|
||||
{
|
||||
ASSIGN(MAPIContent, theContent);
|
||||
}
|
||||
|
||||
|
||||
@end /* SOGoContentObject */
|
||||
|
||||
Reference in New Issue
Block a user