diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-04-08 15:54:05 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-04-09 12:09:15 +0200 |
commit | 1f913dcbca84e327977d633a985ad6bdb92f7804 (patch) | |
tree | 72d88a82361e71f0fab8b37e813a8bc3f8c8524a /source/tools/pdfpages.c | |
parent | aae4d9682f33187adc9dfe480fb83c05955afebe (diff) | |
download | mupdf-1f913dcbca84e327977d633a985ad6bdb92f7804.tar.xz |
Remove the _no_run functions.
The new pdfclean sanitize functionality mean that mutool now
needs the data files, so maintaining the split that was designed to
keep data files out of mutool is no longer viable.
Diffstat (limited to 'source/tools/pdfpages.c')
-rw-r--r-- | source/tools/pdfpages.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/pdfpages.c b/source/tools/pdfpages.c index e1185bfc..a0f04e7d 100644 --- a/source/tools/pdfpages.c +++ b/source/tools/pdfpages.c @@ -182,7 +182,7 @@ pdfpages_pages(fz_context *ctx, fz_output *out, char *filename, char *password, filename = argv[argidx]; fz_printf(ctx, out, "%s:\n", filename); - doc = pdf_open_document_no_run(ctx, filename); + doc = pdf_open_document(ctx, filename); if (pdf_needs_password(ctx, doc)) if (!pdf_authenticate_password(ctx, doc, password)) fz_throw(ctx, FZ_ERROR_GENERIC, "cannot authenticate password: %s", filename); |