summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-09-23 15:42:48 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-10-07 17:22:59 +0200
commit4e1e13c9b09fbfc4a40ec2a4f78e206cf156898b (patch)
tree357b7c3cb1e7ff69e7eb586fdec98be1a4715d80 /include
parenta1e7013390b14bbdd3a05bf7db073fc409cd91bc (diff)
downloadmupdf-4e1e13c9b09fbfc4a40ec2a4f78e206cf156898b.tar.xz
pdf: Remove unneccessary document argument to pdf_to_utf8 etc.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/pdf/object.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mupdf/pdf/object.h b/include/mupdf/pdf/object.h
index bf574551..741ef09d 100644
--- a/include/mupdf/pdf/object.h
+++ b/include/mupdf/pdf/object.h
@@ -136,10 +136,10 @@ int pdf_obj_parent_num(fz_context *ctx, pdf_obj *obj);
int pdf_sprint_obj(fz_context *ctx, char *s, int n, pdf_obj *obj, int tight);
int pdf_print_obj(fz_context *ctx, fz_output *out, pdf_obj *obj, int tight);
-char *pdf_to_utf8(fz_context *ctx, pdf_document *doc, pdf_obj *src);
-unsigned short *pdf_to_ucs2(fz_context *ctx, pdf_document *doc, pdf_obj *src);
+char *pdf_to_utf8(fz_context *ctx, pdf_obj *src);
+unsigned short *pdf_to_ucs2(fz_context *ctx, pdf_obj *src);
pdf_obj *pdf_to_utf8_name(fz_context *ctx, pdf_document *doc, pdf_obj *src);
-char *pdf_from_ucs2(fz_context *ctx, pdf_document *doc, unsigned short *str);
+char *pdf_from_ucs2(fz_context *ctx, unsigned short *str);
void pdf_to_ucs2_buf(fz_context *ctx, unsigned short *buffer, pdf_obj *src);
fz_rect *pdf_to_rect(fz_context *ctx, pdf_obj *array, fz_rect *rect);