summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-write.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2014-06-05 15:03:14 +0100
committerRobin Watts <robin.watts@artifex.com>2015-02-25 19:12:01 +0000
commitd4b742ab61f32abd7b49bb507e69c8d43f400bbc (patch)
tree79db1c94a940cf668b24e9c2a2be506a2dd9aa06 /source/pdf/pdf-write.c
parent63c811b5ff2a50c5b1739526cc9e3112d3cda151 (diff)
downloadmupdf-d4b742ab61f32abd7b49bb507e69c8d43f400bbc.tar.xz
Add post processing option to page operator cleaning.
In order to be able to watermark etc, we want the ability to add more operators/resources after page cleaning. Add a post processing hook to enable this to be done more easily.
Diffstat (limited to 'source/pdf/pdf-write.c')
-rw-r--r--source/pdf/pdf-write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-write.c b/source/pdf/pdf-write.c
index 1016e8af..6f5088c6 100644
--- a/source/pdf/pdf-write.c
+++ b/source/pdf/pdf-write.c
@@ -2533,7 +2533,7 @@ static void sanitise(fz_context *ctx, pdf_document *doc)
{
pdf_page *page = pdf_load_page(ctx, doc, i);
- pdf_clean_page_contents(ctx, doc, page, NULL);
+ pdf_clean_page_contents(ctx, doc, page, NULL, NULL, NULL);
fz_drop_page(ctx, &page->super);
}