summaryrefslogtreecommitdiff
path: root/apps/pdfapp.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/pdfapp.c')
-rw-r--r--apps/pdfapp.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/apps/pdfapp.c b/apps/pdfapp.c
index f8c9c79e..053d120d 100644
--- a/apps/pdfapp.c
+++ b/apps/pdfapp.c
@@ -164,15 +164,6 @@ static void pdfapp_open_pdf(pdfapp_t *app, char *filename, int fd)
* Start at first page
*/
- fz_try(ctx)
- {
- pdf_load_page_tree(app->xref);
- }
- fz_catch(ctx)
- {
- pdfapp_error(app, "cannot load page tree");
- }
-
app->pagecount = pdf_count_pages(app->xref);
app->outline = pdf_load_outline(app->xref);