Revision: 18517
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18517&view=rev
Author: hofman
Date: 2012-02-23 12:51:26 +0000 (Thu, 23 Feb 2012)
Log Message:
-----------
move fix for file path URLs to a more primitive method
Modified Paths:
--------------
trunk/bibdesk/BDSKDocumentController.m
Modified: trunk/bibdesk/BDSKDocumentController.m
===================================================================
--- trunk/bibdesk/BDSKDocumentController.m 2012-02-23 12:49:28 UTC (rev
18516)
+++ trunk/bibdesk/BDSKDocumentController.m 2012-02-23 12:51:26 UTC (rev
18517)
@@ -243,6 +243,8 @@
}
}
} else {
+ if ([absoluteURL isFileURL] && [absoluteURL
respondsToSelector:@selector(filePathURL)])
+ absoluteURL = [absoluteURL filePathURL];
doc = [super makeDocumentWithContentsOfURL:absoluteURL ofType:typeName
error:outError];
}
return doc;
@@ -305,9 +307,6 @@
} else {
- if ([absoluteURL isFileURL] && [absoluteURL
respondsToSelector:@selector(filePathURL)])
- absoluteURL = [absoluteURL filePathURL];
-
document = [super openDocumentWithContentsOfURL:absoluteURL
display:displayDocument error:outError];
if (displayDocument && openType == BDSKOpenUsingPhonyCiteKeys)
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/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit