Revision: 7822
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7822&view=rev
Author:   hofman
Date:     2012-12-09 23:19:36 +0000 (Sun, 09 Dec 2012)
Log Message:
-----------
We cannot parse FDF documents so don't try it

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

Modified: trunk/SKMainDocument.m
===================================================================
--- trunk/SKMainDocument.m      2012-12-09 14:43:01 UTC (rev 7821)
+++ trunk/SKMainDocument.m      2012-12-09 23:19:36 UTC (rev 7822)
@@ -1976,7 +1976,7 @@
     } else {
         NSNumber *replaceNumber = [args objectForKey:@"Replace"];
         NSString *fileType = [[NSDocumentController sharedDocumentController] 
typeForContentsOfURL:notesURL error:NULL];
-        if ([[NSWorkspace sharedWorkspace] type:fileType 
conformsToType:SKNotesDocumentType] || [[NSWorkspace sharedWorkspace] 
type:fileType conformsToType:SKNotesFDFDocumentType])
+        if ([[NSWorkspace sharedWorkspace] type:fileType 
conformsToType:SKNotesDocumentType])
             [self readNotesFromURL:notesURL replace:(replaceNumber ? 
[replaceNumber boolValue] : YES)];
         else
             [command setScriptErrorNumber:NSArgumentsWrongScriptError];

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


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to