summaryrefslogtreecommitdiff
path: root/platform/ios
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios')
-rw-r--r--platform/ios/Classes/MuPrintPageRenderer.h3
-rw-r--r--platform/ios/Classes/MuPrintPageRenderer.m4
2 files changed, 5 insertions, 2 deletions
diff --git a/platform/ios/Classes/MuPrintPageRenderer.h b/platform/ios/Classes/MuPrintPageRenderer.h
index f043e0b1..8a48c6e3 100644
--- a/platform/ios/Classes/MuPrintPageRenderer.h
+++ b/platform/ios/Classes/MuPrintPageRenderer.h
@@ -1,5 +1,6 @@
#import <UIKit/UIKit.h>
-#import <MuDocRef.h>
+
+#import "MuDocRef.h"
@interface MuPrintPageRenderer : UIPrintPageRenderer
diff --git a/platform/ios/Classes/MuPrintPageRenderer.m b/platform/ios/Classes/MuPrintPageRenderer.m
index a0ec7cf8..b2544825 100644
--- a/platform/ios/Classes/MuPrintPageRenderer.m
+++ b/platform/ios/Classes/MuPrintPageRenderer.m
@@ -32,7 +32,9 @@ const int MaxStripPixels = 1024*1024;
{
npages = fz_count_pages(ctx, docRef->doc);
}
- fz_catch(ctx);
+ fz_catch(ctx)
+ {
+ }
});
return npages;
}