Revision: 28707
http://sourceforge.net/p/bibdesk/svn/28707
Author: hofman
Date: 2024-02-08 18:26:20 +0000 (Thu, 08 Feb 2024)
Log Message:
-----------
use newer data reading option names
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVImageIcon.m
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPreviewer.m
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVImageIcon.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVImageIcon.m 2024-02-08
10:39:04 UTC (rev 28706)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVImageIcon.m 2024-02-08
18:26:20 UTC (rev 28707)
@@ -132,7 +132,7 @@
// if isFullSize is set to YES, the result can be used for _fullImage without
resampling
- (CGImageRef)_copySourceImageAtFullSize:(BOOL *)isFullSize {
CGImageRef image = NULL;
- NSData *imageData = [[NSData alloc] initWithContentsOfURL:_fileURL
options:NSUncachedRead error:NULL];
+ NSData *imageData = [[NSData alloc] initWithContentsOfURL:_fileURL
options:NSDataReadingUncached error:NULL];
if (imageData) {
CGImageSourceRef src = CGImageSourceCreateWithData((__bridge
CFDataRef)imageData, _imsrcOptions);
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPreviewer.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPreviewer.m 2024-02-08
10:39:04 UTC (rev 28706)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPreviewer.m 2024-02-08
18:26:20 UTC (rev 28707)
@@ -260,7 +260,7 @@
static NSData *PDFDataWithPostScriptDataAtURL(NSURL *aURL)
{
- NSData *psData = [[NSData alloc] initWithContentsOfURL:aURL
options:NSMappedRead error:NULL];
+ NSData *psData = [[NSData alloc] initWithContentsOfURL:aURL
options:NSDataReadingMapped error:NULL];
CGPSConverterCallbacks converterCallbacks = { 0, NULL, NULL, NULL, NULL,
NULL, NULL, NULL };
CGPSConverterRef converter = CGPSConverterCreate(NULL,
&converterCallbacks, NULL);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit