diff options
Diffstat (limited to 'source/pdf/pdf-clean-file.c')
-rw-r--r-- | source/pdf/pdf-clean-file.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/pdf/pdf-clean-file.c b/source/pdf/pdf-clean-file.c index 224a4d03..86a6b6a0 100644 --- a/source/pdf/pdf-clean-file.c +++ b/source/pdf/pdf-clean-file.c @@ -234,9 +234,6 @@ static void retainpages(fz_context *ctx, globals *glo, int argc, char **argv) pdf_dict_put_drop(ctx, pages, PDF_NAME_Count, countobj); pdf_dict_put_drop(ctx, pages, PDF_NAME_Kids, kids); - /* Force the next call to pdf_count_pages to recount */ - glo->doc->page_count = 0; - pagecount = pdf_count_pages(ctx, doc); page_object_nums = fz_calloc(ctx, pagecount, sizeof(*page_object_nums)); for (i = 0; i < pagecount; i++) |