From 3afdcd7307fd5e68f35c7bb91a4d856499f1df44 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 15 Dec 2015 11:31:36 +0100 Subject: Rename fz_write_x to fz_save_pixmap_as_x or fz_save_bitmap_as_x. Separate naming of functions that save complete files to disk from functions that write data to streams. --- source/pdf/pdf-clean-file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/pdf/pdf-clean-file.c') diff --git a/source/pdf/pdf-clean-file.c b/source/pdf/pdf-clean-file.c index f1302efb..69e796b3 100644 --- a/source/pdf/pdf-clean-file.c +++ b/source/pdf/pdf-clean-file.c @@ -190,7 +190,7 @@ static void retainpages(fz_context *ctx, globals *glo, int argc, char **argv) } } -void pdf_clean_file(fz_context *ctx, char *infile, char *outfile, char *password, fz_write_options *opts, char *argv[], int argc) +void pdf_clean_file(fz_context *ctx, char *infile, char *outfile, char *password, fz_save_options *opts, char *argv[], int argc) { globals glo = { 0 }; @@ -207,7 +207,7 @@ void pdf_clean_file(fz_context *ctx, char *infile, char *outfile, char *password if (argc) retainpages(ctx, &glo, argc, argv); - pdf_write_document(ctx, glo.doc, outfile, opts); + pdf_save_document(ctx, glo.doc, outfile, opts); } fz_always(ctx) { -- cgit v1.2.3