Monotone-Parent: faa665d09f8735444e5cc6f1e0ca073851cbab3f

Monotone-Revision: d48fed214ae2d8c0aea1b8848de745e3ee235afa

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-11-07T15:07:37
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-11-07 15:07:37 +00:00
parent d02400dfc1
commit e67931703f
4 changed files with 32 additions and 33 deletions

View File

@@ -451,14 +451,18 @@ static Class NSExceptionK, MAPIStoreFolderK;
{
struct SPropValue *cValue;
NSUInteger counter;
NSMutableDictionary *newProperties;
newProperties = [NSMutableDictionary dictionaryWithCapacity: aRow->cValues];
for (counter = 0; counter < aRow->cValues; counter++)
{
cValue = aRow->lpProps + counter;
[properties setObject: NSObjectFromSPropValue (cValue)
forKey: MAPIPropertyKey (cValue->ulPropTag)];
[newProperties setObject: NSObjectFromSPropValue (cValue)
forKey: MAPIPropertyKey (cValue->ulPropTag)];
}
[self addProperties: newProperties];
return MAPISTORE_SUCCESS;
}