summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-clean-file.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-04-08 15:54:05 +0200
committerTor Andersson <tor.andersson@artifex.com>2015-04-09 12:09:15 +0200
commit1f913dcbca84e327977d633a985ad6bdb92f7804 (patch)
tree72d88a82361e71f0fab8b37e813a8bc3f8c8524a /source/pdf/pdf-clean-file.c
parentaae4d9682f33187adc9dfe480fb83c05955afebe (diff)
downloadmupdf-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/pdf/pdf-clean-file.c')
-rw-r--r--source/pdf/pdf-clean-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-clean-file.c b/source/pdf/pdf-clean-file.c
index d224dd9a..f1302efb 100644
--- a/source/pdf/pdf-clean-file.c
+++ b/source/pdf/pdf-clean-file.c
@@ -198,7 +198,7 @@ void pdf_clean_file(fz_context *ctx, char *infile, char *outfile, char *password
fz_try(ctx)
{
- glo.doc = pdf_open_document_no_run(ctx, infile);
+ glo.doc = pdf_open_document(ctx, infile);
if (pdf_needs_password(ctx, glo.doc))
if (!pdf_authenticate_password(ctx, glo.doc, password))
fz_throw(glo.ctx, FZ_ERROR_GENERIC, "cannot authenticate password: %s", infile);