mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-04 06:36:24 +00:00
Monotone-Parent: ebae336bc62a9607c87bc04d4faa060b8299cd84
Monotone-Revision: 8024e7884f12b6b63830153922546ddf8d4f2ed8 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-08-01T18:07:00 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
#import <Foundation/NSArray.h>
|
||||
#import <Foundation/NSData.h>
|
||||
#import <Foundation/NSDictionary.h>
|
||||
#import <Foundation/NSString.h>
|
||||
#import <Foundation/NSValue.h>
|
||||
|
||||
#import "MAPIStoreContext.h"
|
||||
#import "MAPIStorePropertySelectors.h"
|
||||
@@ -37,8 +39,15 @@
|
||||
#include <mapistore/mapistore.h>
|
||||
#include <mapistore/mapistore_errors.h>
|
||||
|
||||
Class NSNumberK;
|
||||
|
||||
@implementation MAPIStoreFSMessage
|
||||
|
||||
+ (void) initialize
|
||||
{
|
||||
NSNumberK = [NSNumber class];
|
||||
}
|
||||
|
||||
+ (int) getAvailableProperties: (struct SPropTagArray **) propertiesP
|
||||
inMemCtx: (TALLOC_CTX *) memCtx
|
||||
{
|
||||
@@ -138,7 +147,7 @@
|
||||
// return [NSNumber numberWithUnsignedInt: propTag];
|
||||
// #else
|
||||
key = [keys objectAtIndex: count];
|
||||
if (![key isEqualToString: @"attachments"])
|
||||
if ([key isKindOfClass: NSNumberK])
|
||||
{
|
||||
#if (GS_SIZEOF_LONG == 4)
|
||||
properties->aulPropTag[count] = [[keys objectAtIndex: count] unsignedLongValue];
|
||||
|
||||
Reference in New Issue
Block a user