Revision: 7739
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7739&view=rev
Author:   hofman
Date:     2012-10-21 12:17:13 +0000 (Sun, 21 Oct 2012)
Log Message:
-----------
override method that wasn't deprecated in Lion to save last used save type

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

Modified: trunk/SKNotesDocument.m
===================================================================
--- trunk/SKNotesDocument.m     2012-10-19 21:15:15 UTC (rev 7738)
+++ trunk/SKNotesDocument.m     2012-10-21 12:17:13 UTC (rev 7739)
@@ -244,10 +244,10 @@
     [super runModalSavePanelForSaveOperation:saveOperation delegate:self 
didSaveSelector:@selector(document:didSave:contextInfo:) contextInfo:NULL];
 }
 
-- (BOOL)saveToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName 
forSaveOperation:(NSSaveOperationType)saveOperation error:(NSError **)outError{
+- (void)saveToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName 
forSaveOperation:(NSSaveOperationType)saveOperation delegate:(id)delegate 
didSaveSelector:(SEL)didSaveSelector contextInfo:(void *)contextInfo {
     if (saveOperation == NSSaveToOperation && exportUsingPanel)
         [[NSUserDefaults standardUserDefaults] setObject:typeName 
forKey:SKLastExportedNotesTypeKey];
-    return [super saveToURL:absoluteURL ofType:typeName 
forSaveOperation:saveOperation error:outError];
+    [super saveToURL:absoluteURL ofType:typeName 
forSaveOperation:saveOperation delegate:delegate 
didSaveSelector:didSaveSelector contextInfo:contextInfo];
 }
 
 - (NSFileWrapper *)fileWrapperOfType:(NSString *)typeName error:(NSError 
**)outError {

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


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to