diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-04-12 13:51:44 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-04-25 12:26:32 +0200 |
commit | e41e86bd0172036cb29d6fe1a26f88ad075d060f (patch) | |
tree | fdb4478c773621eb166a3dab0ae51e33654a3667 /source/pdf/pdf-nametree.c | |
parent | 6ee3e43ca37620febd255390b2c29a2ceda35f93 (diff) | |
download | mupdf-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-nametree.c')
-rw-r--r-- | source/pdf/pdf-nametree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-nametree.c b/source/pdf/pdf-nametree.c index 375b9fd5..30dd5974 100644 --- a/source/pdf/pdf-nametree.c +++ b/source/pdf/pdf-nametree.c @@ -140,7 +140,7 @@ pdf_load_name_tree_imp(fz_context *ctx, pdf_obj *dict, pdf_document *doc, pdf_ob pdf_obj *val = pdf_array_get(ctx, names, i + 1); if (pdf_is_string(ctx, key)) { - key = pdf_to_utf8_name(ctx, doc, key); + key = pdf_to_utf8_name(ctx, key); pdf_dict_put(ctx, dict, key, val); pdf_drop_obj(ctx, key); } |