diff --git a/ChangeLog b/ChangeLog index e7bff64c7..41f884f33 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-02-20 Wolfgang Sourdeau + + * OpenChange/MAPIStoreObject.m (-setMAPIRetainCount) + (-retainCount): removed accessors as well as the corresponding + "mapiRetainCount" ivar as this was part of an unused feature. + 2012-02-16 Francis Lachapelle * UI/WebServerResources/UIxAttendeesEditor.js (checkAttendee): diff --git a/OpenChange/MAPIStoreObject.h b/OpenChange/MAPIStoreObject.h index 773db8bd4..31e21fee9 100644 --- a/OpenChange/MAPIStoreObject.h +++ b/OpenChange/MAPIStoreObject.h @@ -45,8 +45,6 @@ { const IMP *classGetters; - uint32_t mapiRetainCount; - NSMutableArray *parentContainersBag; MAPIStoreObject *container; id sogoObject; @@ -62,10 +60,6 @@ - (id) initWithSOGoObject: (id) newSOGoObject inContainer: (MAPIStoreObject *) newFolder; -/* HACK: MAPI retain count */ -- (void) setMAPIRetainCount: (uint32_t) newCount; -- (uint32_t) mapiRetainCount; - - (void) setIsNew: (BOOL) newIsNew; - (BOOL) isNew; diff --git a/OpenChange/MAPIStoreObject.m b/OpenChange/MAPIStoreObject.m index d064aca30..c9d71d1ef 100644 --- a/OpenChange/MAPIStoreObject.m +++ b/OpenChange/MAPIStoreObject.m @@ -100,7 +100,6 @@ static Class NSExceptionK, MAPIStoreFolderK; { if ((self = [super init])) { - mapiRetainCount = 0; classGetters = (IMP *) MAPIStorePropertyGettersForClass (isa); parentContainersBag = [NSMutableArray new]; container = nil; @@ -136,16 +135,6 @@ static Class NSExceptionK, MAPIStoreFolderK; [super dealloc]; } -- (void) setMAPIRetainCount: (uint32_t) newCount -{ - mapiRetainCount = newCount; -} - -- (uint32_t) mapiRetainCount -{ - return mapiRetainCount; -} - - (void) setIsNew: (BOOL) newIsNew { isNew = newIsNew;