Revision: 7659
http://skim-app.svn.sourceforge.net/skim-app/?rev=7659&view=rev
Author: hofman
Date: 2012-02-21 12:13:23 +0000 (Tue, 21 Feb 2012)
Log Message:
-----------
use local variable for file manager
Modified Paths:
--------------
trunk/SKMainDocument.m
Modified: trunk/SKMainDocument.m
===================================================================
--- trunk/SKMainDocument.m 2012-02-20 13:20:24 UTC (rev 7658)
+++ trunk/SKMainDocument.m 2012-02-21 12:13:23 UTC (rev 7659)
@@ -405,7 +405,7 @@
(void)FSSetCatalogInfo(&fileRef, whichInfo, &tmpCatalogInfo);
}
- if (NO == [[NSFileManager defaultManager] writeSkimNotes:[[self notes]
valueForKey:@"SkimNoteProperties"] textNotes:[self notesString]
richTextNotes:[self notesRTFData] toExtendedAttributesAtURL:absoluteURL
error:NULL]) {
+ if (NO == [fm writeSkimNotes:[[self notes]
valueForKey:@"SkimNoteProperties"] textNotes:[self notesString]
richTextNotes:[self notesRTFData] toExtendedAttributesAtURL:absoluteURL
error:NULL]) {
NSString *message = saveNotesOK ? NSLocalizedString(@"The notes could
not be saved with the PDF at \"%@\". However a companion .skim file was
successfully updated.", @"Informative text in alert dialog") :
NSLocalizedString(@"The notes could
not be saved with the PDF at \"%@\"", @"Informative text in alert dialog");
NSAlert *alert = [NSAlert alertWithMessageText:[NSString
stringWithFormat:NSLocalizedString(@"Unable to save notes", @"Message in alert
dialog"), nil]
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit