From 006da94bd52504b3b75944bf114dc7473b00d8d4 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 10 Jan 2011 18:47:12 +0000 Subject: [PATCH] Monotone-Parent: bc5478c6da74ce0487be5bc0045ffb55f4ff5297 Monotone-Revision: cb5cc3133ac0a2327dd3cc8408ecc03e59d08d44 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-01-10T18:47:12 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ OpenChange/MAPIStoreContext.m | 18 ------------------ 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/ChangeLog b/ChangeLog index 67ea08d68..8dd1fefdf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-01-10 Wolfgang Sourdeau + + * OpenChange/MAPIStoreContext.m (-typeLessTag:): removed method as + types are now determined from openchange core. + 2011-01-07 Wolfgang Sourdeau * OpenChange/MAPIStoreContext.m (_typeLessTag:): new method diff --git a/OpenChange/MAPIStoreContext.m b/OpenChange/MAPIStoreContext.m index f072ad9bc..e8b8bf841 100644 --- a/OpenChange/MAPIStoreContext.m +++ b/OpenChange/MAPIStoreContext.m @@ -1002,22 +1002,6 @@ _prepareContextClass (struct mapistore_context *newMemCtx, save: NO]; } -- (enum MAPITAGS) _typeLessTag: (enum MAPITAGS) tag -{ - if (tag == 0x300b0000) - tag = PR_SEARCH_KEY; - else if (tag == 0x30070000) - tag = PR_CREATION_TIME; - else if (tag == 0x30080000) - tag = PR_LAST_MODIFICATION_TIME; - else if (tag == 0x0e080000) - tag = PR_MESSAGE_SIZE; - else - [self warnWithFormat: @"unknown typeless tag: 0x%.8x", tag]; - - return tag; -} - - (int) getProperties: (struct SPropTagArray *) sPropTagArray ofTableType: (uint8_t) tableType inRow: (struct SRow *) aRow @@ -1056,8 +1040,6 @@ _prepareContextClass (struct mapistore_context *newMemCtx, for (count = 0; count < sPropTagArray->cValues; count++) { tag = sPropTagArray->aulPropTag[count]; - if ((tag & 0x0000ffff) == 0) - tag = [self _typeLessTag: tag]; propValue = NULL; propRc = [table getChildProperty: &propValue