Revision: 4613
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4613&view=rev
Author:   hofman
Date:     2008-09-11 20:37:47 +0000 (Thu, 11 Sep 2008)

Log Message:
-----------
Create children of our outline wrappers using [self class]

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

Modified: trunk/SKPDFOutline.m
===================================================================
--- trunk/SKPDFOutline.m        2008-09-11 16:20:21 UTC (rev 4612)
+++ trunk/SKPDFOutline.m        2008-09-11 20:37:47 UTC (rev 4613)
@@ -81,7 +81,7 @@
         int i, count = [outline numberOfChildren];
         children = [[NSMutableArray alloc] initWithCapacity:count];
         for (i = 0; i < count; i++) {
-            SKPDFOutline *child = [[SKPDFOutline alloc] 
initWithOutline:[outline childAtIndex:i] parent:self];
+            SKPDFOutline *child = [[[self class] alloc] 
initWithOutline:[outline childAtIndex:i] parent:self];
             [children addObject:child];
             [child release];
         }


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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to