diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-07-07 13:33:38 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-07-08 12:04:51 +0200 |
commit | 5f11fd5eb7096d15f92abbb9d7d84d0c35eb8f53 (patch) | |
tree | 45850a97e5d251decba95c77a0b0cce2c967a29a /source/pdf/pdf-appearance.c | |
parent | e82910771b7896b0cfff98b04d2ffe0a56cae0b4 (diff) | |
download | mupdf-5f11fd5eb7096d15f92abbb9d7d84d0c35eb8f53.tar.xz |
Slim pdf_annot struct: remove cached pagerect field.
Diffstat (limited to 'source/pdf/pdf-appearance.c')
-rw-r--r-- | source/pdf/pdf-appearance.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/pdf/pdf-appearance.c b/source/pdf/pdf-appearance.c index 234949b4..e073a1db 100644 --- a/source/pdf/pdf-appearance.c +++ b/source/pdf/pdf-appearance.c @@ -1567,8 +1567,6 @@ void pdf_update_text_markup_appearance(fz_context *ctx, pdf_document *doc, pdf_a static void update_rect(fz_context *ctx, pdf_annot *annot) { pdf_to_rect(ctx, pdf_dict_get(ctx, annot->obj, PDF_NAME_Rect), &annot->rect); - annot->pagerect = annot->rect; - fz_transform_rect(&annot->pagerect, &annot->page_ctm); } void pdf_set_annot_appearance(fz_context *ctx, pdf_document *doc, pdf_annot *annot, fz_rect *rect, fz_display_list *disp_list) |