From 66c961010db971fc7446294938b38843456308bb Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Tue, 10 Jan 2012 19:44:31 +0100 Subject: Automatically load page tree when accessing a page/page count. --- apps/pdfdraw.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'apps/pdfdraw.c') diff --git a/apps/pdfdraw.c b/apps/pdfdraw.c index 91d09c6c..cc125a69 100644 --- a/apps/pdfdraw.c +++ b/apps/pdfdraw.c @@ -455,15 +455,6 @@ int main(int argc, char **argv) fz_throw(ctx, "cannot open document: %s", filename); } - fz_try(ctx) - { - pdf_load_page_tree(xref); - } - fz_catch(ctx) - { - fz_throw(ctx, "cannot load page tree: %s", filename); - } - if (showxml) printf("\n", filename); -- cgit v1.2.3