Revision: 7661
http://skim-app.svn.sourceforge.net/skim-app/?rev=7661&view=rev
Author: hofman
Date: 2012-02-22 00:32:41 +0000 (Wed, 22 Feb 2012)
Log Message:
-----------
simplify conversion to file path URL
Modified Paths:
--------------
trunk/SKMainDocument.m
Modified: trunk/SKMainDocument.m
===================================================================
--- trunk/SKMainDocument.m 2012-02-21 12:49:03 UTC (rev 7660)
+++ trunk/SKMainDocument.m 2012-02-22 00:32:41 UTC (rev 7661)
@@ -483,7 +483,7 @@
[[NSUserDefaults standardUserDefaults] setObject:typeName
forKey:SKLastExportedTypeKey];
}
- NSURL *destURL = [absoluteURL
respondsToSelector:@selector(isFileReferenceURL)] && [absoluteURL
isFileReferenceURL] ? [absoluteURL filePathURL] : absoluteURL;
+ NSURL *destURL = [absoluteURL respondsToSelector:@selector(filePathURL)] ?
[absoluteURL filePathURL] : absoluteURL;
NSMutableDictionary *info = [[NSMutableDictionary alloc]
initWithObjectsAndKeys:destURL, URL_KEY, typeName, TYPE_KEY, [NSNumber
numberWithUnsignedInteger:saveOperation], SAVEOPERATION_KEY, nil];
if (delegate && didSaveSelector) {
NSInvocation *invocation = [NSInvocation invocationWithTarget:delegate
selector:didSaveSelector];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit