Revision: 5169
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5169&view=rev
Author:   hofman
Date:     2009-01-27 16:04:34 +0000 (Tue, 27 Jan 2009)

Log Message:
-----------
small simplification

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

Modified: trunk/SKPDFDocument.m
===================================================================
--- trunk/SKPDFDocument.m       2009-01-27 15:58:06 UTC (rev 5168)
+++ trunk/SKPDFDocument.m       2009-01-27 16:04:34 UTC (rev 5169)
@@ -779,8 +779,7 @@
             NSArray *array = nil;
             NSNumber *number = nil;
             if (SKIsPDFBundleDocumentType(docType)) {
-                NSString *infoPath = [[[absoluteURL path] 
stringByAppendingPathComponent:BUNDLE_DATA_FILENAME] 
stringByAppendingPathExtension:@"plist"];
-                NSData *infoData = [NSData dataWithContentsOfFile:infoPath 
options:0 error:NULL];
+                NSData *infoData = [NSData 
dataWithContentsOfFile:[[[absoluteURL path] 
stringByAppendingPathComponent:BUNDLE_DATA_FILENAME] 
stringByAppendingPathExtension:@"plist"]];
                 if (infoData) {
                     NSString *errorString = nil;
                     NSDictionary *info = [NSPropertyListSerialization 
propertyListFromData:infoData mutabilityOption:NSPropertyListImmutable 
format:NULL errorDescription:&errorString];


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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to