diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-03-01 20:11:26 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-03-01 21:57:41 +0100 |
commit | fbf50daa7e81ee111df3091048a9336ac29d371f (patch) | |
tree | 6d6091fece421c44d6efcc924093eedd45a3446a /source/pdf/pdf-annot-edit.c | |
parent | ed08eb1f0e4d3fd49181343f5cd3d63f455cbe51 (diff) | |
download | mupdf-fbf50daa7e81ee111df3091048a9336ac29d371f.tar.xz |
Rename pdf_new_ref to pdf_add_object.
Diffstat (limited to 'source/pdf/pdf-annot-edit.c')
-rw-r--r-- | source/pdf/pdf-annot-edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-annot-edit.c b/source/pdf/pdf-annot-edit.c index 6b085055..06b3495e 100644 --- a/source/pdf/pdf-annot-edit.c +++ b/source/pdf/pdf-annot-edit.c @@ -421,7 +421,7 @@ void pdf_set_free_text_details(fz_context *ctx, pdf_document *doc, pdf_annot *an find_free_font_name(ctx, form_fonts, nbuf, sizeof(nbuf)); font = pdf_new_dict(ctx, doc, 5); - ref = pdf_new_ref(ctx, doc, font); + ref = pdf_add_object(ctx, doc, font); pdf_dict_puts_drop(ctx, form_fonts, nbuf, ref); pdf_dict_put_drop(ctx, font, PDF_NAME_Type, PDF_NAME_Font); |