Revision: 7688
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7688&view=rev
Author:   hofman
Date:     2012-03-21 01:10:29 +0000 (Wed, 21 Mar 2012)
Log Message:
-----------
use class factory method

Modified Paths:
--------------
    trunk/SKColorSwatch.m

Modified: trunk/SKColorSwatch.m
===================================================================
--- trunk/SKColorSwatch.m       2012-03-21 01:06:20 UTC (rev 7687)
+++ trunk/SKColorSwatch.m       2012-03-21 01:10:29 UTC (rev 7688)
@@ -459,7 +459,7 @@
         NSMutableArray *children = [NSMutableArray array];
         NSInteger i, count = [colors count];
         for (i = 0; i < count; i++)
-            [children addObject:[[[SKAccessibilityColorSwatchElement alloc] 
initWithIndex:i parent:self] autorelease]];
+            [children addObject:[SKAccessibilityColorSwatchElement 
elementWithIndex:i parent:self]];
         return NSAccessibilityUnignoredChildren(children);
     } else {
         return [super accessibilityAttributeValue:attribute];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to