diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-12-28 15:18:21 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-01-05 14:47:37 +0100 |
commit | d5394cbcf3a98dcabc49264172d4ce6618535d91 (patch) | |
tree | 9cf89de9fa95ddc14ffdb78d2dd8ff25d7d480cd /platform/ios/Classes/MuAnnotation.m | |
parent | cc4bd1b4f82a67f70c7ccad4da874d6e7451eeae (diff) | |
download | mupdf-d5394cbcf3a98dcabc49264172d4ce6618535d91.tar.xz |
Remove fz_page argument from fz_annot function calls.
Diffstat (limited to 'platform/ios/Classes/MuAnnotation.m')
-rw-r--r-- | platform/ios/Classes/MuAnnotation.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/ios/Classes/MuAnnotation.m b/platform/ios/Classes/MuAnnotation.m index 89cc9d48..f13dedd7 100644 --- a/platform/ios/Classes/MuAnnotation.m +++ b/platform/ios/Classes/MuAnnotation.m @@ -8,14 +8,14 @@ @synthesize type, rect; --(id) initFromAnnot:(fz_annot *)annot forPage:(fz_page *)page; +-(id) initFromAnnot:(fz_annot *)annot; { self = [super init]; if (self) { fz_rect frect; type = pdf_annot_type(ctx, (pdf_annot *)annot); - fz_bound_annot(ctx, page, annot, &frect); + fz_bound_annot(ctx, annot, &frect); rect.origin.x = frect.x0; rect.origin.y = frect.y0; rect.size.width = frect.x1 - frect.x0; @@ -24,8 +24,8 @@ return self; } -+(MuAnnotation *) annotFromAnnot:(fz_annot *)annot forPage:(fz_page *)page; ++(MuAnnotation *) annotFromAnnot:(fz_annot *)annot; { - return [[[MuAnnotation alloc] initFromAnnot:annot forPage:page] autorelease]; + return [[[MuAnnotation alloc] initFromAnnot:annot] autorelease]; } @end |