summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-page.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-04-12 13:51:44 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-04-25 12:26:32 +0200
commite41e86bd0172036cb29d6fe1a26f88ad075d060f (patch)
treefdb4478c773621eb166a3dab0ae51e33654a3667 /source/pdf/pdf-page.c
parent6ee3e43ca37620febd255390b2c29a2ceda35f93 (diff)
downloadmupdf-e41e86bd0172036cb29d6fe1a26f88ad075d060f.tar.xz
Remove document argument from pdf_new_primitive functions.
Also remove useless pdf_new_null and pdf_new_bool functions. Use the PDF_NULL, PDF_TRUE, and PDF_FALSE macros instead.
Diffstat (limited to 'source/pdf/pdf-page.c')
-rw-r--r--source/pdf/pdf-page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-page.c b/source/pdf/pdf-page.c
index 68e2b55e..b1e286ee 100644
--- a/source/pdf/pdf-page.c
+++ b/source/pdf/pdf-page.c
@@ -323,7 +323,7 @@ pdf_lookup_anchor(fz_context *ctx, pdf_document *doc, const char *name, float *x
if (xp) *xp = 0;
if (yp) *yp = 0;
- needle = pdf_new_string(ctx, doc, name, strlen(name));
+ needle = pdf_new_string(ctx, name, strlen(name));
fz_try(ctx)
dest = pdf_lookup_dest(ctx, doc, needle);
fz_always(ctx)