diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-04-27 11:46:37 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-04-27 14:15:15 +0200 |
commit | 4ad2a93470e859159fe8507fb6c3e2ef7995aa9b (patch) | |
tree | 0c937587956b3d9f1eb12ebf041ca690c76b9c39 /source/pdf/pdf-clean.c | |
parent | 617e280738a7dd91a6289f6e2e4e361785fb2281 (diff) | |
download | mupdf-4ad2a93470e859159fe8507fb6c3e2ef7995aa9b.tar.xz |
Use pdf_dict_get_int, etc.
Diffstat (limited to 'source/pdf/pdf-clean.c')
-rw-r--r-- | source/pdf/pdf-clean.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-clean.c b/source/pdf/pdf-clean.c index 4e8dd3f4..3a97a8fb 100644 --- a/source/pdf/pdf-clean.c +++ b/source/pdf/pdf-clean.c @@ -243,7 +243,7 @@ void pdf_filter_page_contents(fz_context *ctx, pdf_document *doc, pdf_page *page pat_res = pdf_dict_get(ctx, pat, PDF_NAME(Resources)); if (pat_res == NULL) pat_res = resources; - if (pdf_to_int(ctx, pdf_dict_get(ctx, pat, PDF_NAME(PatternType))) == 1) + if (pdf_dict_get_int(ctx, pat, PDF_NAME(PatternType)) == 1) pdf_clean_stream_object(ctx, doc, pat, pat_res, cookie, 0, text_filter, after_text, proc_arg, sanitize, ascii); } } |