]> err.no Git - scalable-opengroupware.org/blobdiff - ZideStore/UI-X/Common/common.h
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@34 d1b88da0-ebda-0310-925b-ed51d8...
[scalable-opengroupware.org] / ZideStore / UI-X / Common / common.h
index 9a7a307721564cdb0afa714f4a6f4a41841123a9..ea759a93ad27f9d2dafb1f7848e22077d6ef9e0f 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2000-2004 SKYRIX Software AG
+  Copyright (C) 2004 SKYRIX Software AG
 
   This file is part of OpenGroupware.org.
 
@@ -41,8 +41,8 @@ static inline id WOExtGetProperty(NSDictionary *_set, NSString *_name) {
     id propValue = [_set objectForKey:_name];
     
     if (propValue) {
-        propValue = RETAIN(propValue);
-        [(id)_set removeObjectForKey:_name];
+        propValue = [propValue retain];
+        [(NSMutableDictionary *)_set removeObjectForKey:_name];
     }
     return propValue;
 }