Revision: 4038
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4038&view=rev
Author:   hofman
Date:     2008-06-19 10:28:39 -0700 (Thu, 19 Jun 2008)

Log Message:
-----------
Avoid compiler warnings

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

Modified: trunk/SKApplicationController.m
===================================================================
--- trunk/SKApplicationController.m     2008-06-19 16:57:00 UTC (rev 4037)
+++ trunk/SKApplicationController.m     2008-06-19 17:28:39 UTC (rev 4038)
@@ -67,8 +67,9 @@
 #import "NSView_SKExtensions.h"
 #import "SKUtilities.h"
 #import <SkimNotes/PDFAnnotation_SKNExtensions.h>
-#import <SkimNotes/PDFAnnotationLine_SKNExtensions.h>
-#import <SkimNotes/SKNPDFAnnotationNote.h>
+#import "PDFAnnotation_SKExtensions.h"
+#import "PDFAnnotationLine_SKExtensions.h"
+#import "SKNPDFAnnotationNote_SKExtensions.h"
 #import "SKRemoteStateWindow.h"
 #import "NSMenu_SKExtensions.h"
 

Modified: trunk/SKPDFDocument.m
===================================================================
--- trunk/SKPDFDocument.m       2008-06-19 16:57:00 UTC (rev 4037)
+++ trunk/SKPDFDocument.m       2008-06-19 17:28:39 UTC (rev 4038)
@@ -660,8 +660,8 @@
                         readOption = [alert runModal];
                     }
                     if (readOption == NSAlertDefaultReturn) {
-                        NSArray *array = [NSKeyedUnarchiver 
unarchiveObjectWithFile:path];
-                        if (array) {
+                        array = [[NSFileManager defaultManager] 
readSkimNotesFromSkimFileAtURL:[NSURL fileURLWithPath:path] error:NULL];
+                        if ([array count]) {
                             [self setNoteDicts:array];
                             [self updateChangeCount:NSChangeDone];
                         }


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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to