Revision: 6671
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6671&view=rev
Author:   hofman
Date:     2010-08-06 09:50:00 +0000 (Fri, 06 Aug 2010)

Log Message:
-----------
return nil state for nil outline

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2010-08-06 09:45:11 UTC (rev 6670)
+++ trunk/SKMainWindowController.m      2010-08-06 09:50:00 UTC (rev 6671)
@@ -651,6 +651,8 @@
 }
 
 - (void)openOutline:(PDFOutline *)anOutline forOpenState:(NSDictionary *)info {
+    if (anOutline == nil)
+        return nil;
     BOOL isOpen = info ? [[info valueForKey:@"isOpen"] boolValue] : [anOutline 
isOpen];
     if (isOpen) {
         NSUInteger i, iMax = [anOutline numberOfChildren];


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 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to