From f360278c5d123856355d03e0e5651898f147dce6 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 19 Nov 2010 20:58:20 +0000 Subject: [PATCH] Monotone-Parent: f53e825f6b4a776609eb936acf3689a2764a4835 Monotone-Revision: 1288d25c97ff5e717bd16a11bc535a0f3b6c3eed Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-11-19T20:58:20 Monotone-Branch: ca.inverse.sogo --- OpenChange/SOGoContactGCSEntry+MAPIStore.m | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/OpenChange/SOGoContactGCSEntry+MAPIStore.m b/OpenChange/SOGoContactGCSEntry+MAPIStore.m index 2d73e9910..fce603d0c 100644 --- a/OpenChange/SOGoContactGCSEntry+MAPIStore.m +++ b/OpenChange/SOGoContactGCSEntry+MAPIStore.m @@ -27,30 +27,12 @@ #import #import +#import "MAPIStoreTypes.h" + #import "SOGoContactGCSEntry+MAPIStore.h" -#undef DEBUG -#include -#include - @implementation SOGoContactGCSEntry (MAPIStoreMessage) -#if (GS_SIZEOF_LONG == 4) -static inline NSNumber * -MAPIPropertyNumber (unsigned long propTag) -{ - return [NSNumber numberWithUnsignedLong: propTag]; -} -#elif (GS_SIZEOF_INT == 4) -static inline NSNumber * -MAPIPropertyNumber (unsigned int propTag) -{ - return [NSNumber numberWithUnsignedInt: propTag]; -} -#else -#error No suitable type for 4 bytes integers -#endif - - (void) setMAPIProperties: (NSDictionary *) properties { NGVCard *newCard, *oldCard;