Revision: 7225
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7225&view=rev
Author:   hofman
Date:     2011-05-11 15:15:46 +0000 (Wed, 11 May 2011)

Log Message:
-----------
sanity check

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

Modified: trunk/PDFDocument_SKExtensions.m
===================================================================
--- trunk/PDFDocument_SKExtensions.m    2011-05-11 11:34:23 UTC (rev 7224)
+++ trunk/PDFDocument_SKExtensions.m    2011-05-11 15:15:46 UTC (rev 7225)
@@ -149,6 +149,9 @@
 }
 
 - (NSArray *)fileIDStrings {
+    if ([self respondsToSelector:@selector(documentRef)] == NO)
+        return nil;
+    
     CGPDFDocumentRef doc = (CGPDFDocumentRef)[self documentRef];
     CGPDFArrayRef idArray = CGPDFDocumentGetID(doc);
     


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

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to