diff options
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 |