mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-30 01:09:29 +00:00
Monotone-Parent: bc5478c6da74ce0487be5bc0045ffb55f4ff5297
Monotone-Revision: cb5cc3133ac0a2327dd3cc8408ecc03e59d08d44 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-01-10T18:47:12 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-01-10 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreContext.m (-typeLessTag:): removed method as
|
||||
types are now determined from openchange core.
|
||||
|
||||
2011-01-07 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreContext.m (_typeLessTag:): new method
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user