From 8a7d3cb3f4703b4a46e3cab8fe2358a8c1964923 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 29 Sep 2023 20:12:09 -0400 Subject: [PATCH] MacPDF: Override -[NSDocument isEntireFileLoaded] We keep the NSData object around and stream for it, so that looks like a good thing to do. --- Meta/Lagom/Contrib/MacPDF/LagomPDFDocument.mm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Meta/Lagom/Contrib/MacPDF/LagomPDFDocument.mm b/Meta/Lagom/Contrib/MacPDF/LagomPDFDocument.mm index a35147d080..f7af8f09d1 100644 --- a/Meta/Lagom/Contrib/MacPDF/LagomPDFDocument.mm +++ b/Meta/Lagom/Contrib/MacPDF/LagomPDFDocument.mm @@ -136,6 +136,11 @@ return YES; } +- (BOOL)isEntireFileLoaded +{ + return NO; +} + - (IBAction)showGoToPageDialog:(id)sender { auto alert = [[NSAlert alloc] init];