From 7a830d934ad2c962aefd9c44878d97f6c2852260 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 22 Nov 2017 22:15:57 +0100 Subject: Remove unused annotation function. --- include/mupdf/pdf/annot.h | 5 ----- source/pdf/pdf-annot-edit.c | 6 ------ 2 files changed, 11 deletions(-) diff --git a/include/mupdf/pdf/annot.h b/include/mupdf/pdf/annot.h index bebe77f7..3ec2bc1f 100644 --- a/include/mupdf/pdf/annot.h +++ b/include/mupdf/pdf/annot.h @@ -214,11 +214,6 @@ int pdf_annot_modification_date(fz_context *ctx, pdf_annot *annot); */ void pdf_set_annot_modification_date(fz_context *ctx, pdf_annot *annot, int time); -/* - pdf_annot_irt: return the indirect reference that this annotation is in reply to. -*/ -pdf_obj *pdf_annot_irt(fz_context *ctx, pdf_annot *annot); - /* pdf_set_free_text_details: set the position, text, font and color for a free text annotation. Only base 14 fonts are supported and are specified by name. diff --git a/source/pdf/pdf-annot-edit.c b/source/pdf/pdf-annot-edit.c index 730d7b93..3454ad97 100644 --- a/source/pdf/pdf-annot-edit.c +++ b/source/pdf/pdf-annot-edit.c @@ -1011,12 +1011,6 @@ pdf_set_annot_author(fz_context *ctx, pdf_annot *annot, const char *author) pdf_dirty_annot(ctx, annot); } -pdf_obj * -pdf_annot_irt(fz_context *ctx, pdf_annot *annot) -{ - return pdf_dict_get(ctx, annot->obj, PDF_NAME_IRT); -} - void pdf_set_free_text_details(fz_context *ctx, pdf_annot *annot, fz_point *pos, char *text, char *font_name, float font_size, float color[3]) { -- cgit v1.2.3