summaryrefslogtreecommitdiff
path: root/pdf/pdf_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/pdf_write.c')
-rw-r--r--pdf/pdf_write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/pdf_write.c b/pdf/pdf_write.c
index 6a07894a..c2ca3541 100644
--- a/pdf/pdf_write.c
+++ b/pdf/pdf_write.c
@@ -1054,7 +1054,7 @@ add_linearization_objs(pdf_document *xref, pdf_write_options *opts)
/* FIXME: Do we have document information? Do an I entry */
/* FIXME: Do we have logical structure heirarchy? Do a C entry */
/* FIXME: Do L, Page Label hint table */
- o = fz_new_name(ctx, "FlateDecode");
+ o = pdf_new_name(ctx, "FlateDecode");
pdf_dict_puts(hint_obj, "Filter", o);
pdf_drop_obj(o);
o = NULL;
@@ -1426,7 +1426,7 @@ static void addhexfilter(pdf_document *xref, pdf_obj *dict)
pdf_obj *ahx, *nullobj;
fz_context *ctx = xref->ctx;
- ahx = fz_new_name(ctx, "ASCIIHexDecode");
+ ahx = pdf_new_name(ctx, "ASCIIHexDecode");
nullobj = pdf_new_null(ctx);
newf = newdp = NULL;