summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-cmap-load.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2013-06-27 18:24:07 +0100
committerRobin Watts <robin.watts@artifex.com>2013-06-27 20:05:18 +0100
commit9df3a0615a1fa7745160c099e1ac7cd4dfcbc86e (patch)
tree3aac206ddce6e4c50229c9e4e79e3429118035aa /source/pdf/pdf-cmap-load.c
parent260e54a956c54058051ce6ff31b36ad0ae1b60aa (diff)
downloadmupdf-9df3a0615a1fa7745160c099e1ac7cd4dfcbc86e.tar.xz
Move to using a flags bit rather than "Dirty" dict entries.
Correct the naming scheme for pdf_obj_xxx functions.
Diffstat (limited to 'source/pdf/pdf-cmap-load.c')
-rw-r--r--source/pdf/pdf-cmap-load.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/pdf/pdf-cmap-load.c b/source/pdf/pdf-cmap-load.c
index 64dd0e12..68c5b379 100644
--- a/source/pdf/pdf-cmap-load.c
+++ b/source/pdf/pdf-cmap-load.c
@@ -60,9 +60,9 @@ pdf_load_embedded_cmap(pdf_document *doc, pdf_obj *stmobj)
else if (pdf_is_indirect(obj))
{
phase = 3;
- pdf_obj_mark(obj);
+ pdf_mark_obj(obj);
usecmap = pdf_load_embedded_cmap(doc, obj);
- pdf_obj_unmark(obj);
+ pdf_unmark_obj(obj);
phase = 4;
pdf_set_usecmap(ctx, cmap, usecmap);
pdf_drop_cmap(ctx, usecmap);
@@ -85,7 +85,7 @@ pdf_load_embedded_cmap(pdf_document *doc, pdf_obj *stmobj)
else
{
if (phase == 3)
- pdf_obj_unmark(obj);
+ pdf_unmark_obj(obj);
fz_rethrow_message(ctx, "cannot load embedded usecmap (%d %d R)", pdf_to_num(obj), pdf_to_gen(obj));
}
}