From 00ab7bd42463a4547dd563dd16cc99236c980459 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 20 Jan 2012 16:54:58 +0000 Subject: Update Android build to cope with removal of pdf_load_page_tree. Just mirror the changes done in pdfdraw. --- android/jni/mupdf.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'android') diff --git a/android/jni/mupdf.c b/android/jni/mupdf.c index 7c630c26..5d7eeb0d 100644 --- a/android/jni/mupdf.c +++ b/android/jni/mupdf.c @@ -70,16 +70,6 @@ Java_com_artifex_mupdf_MuPDFCore_openFile(JNIEnv * env, jobject thiz, jstring jf { fz_throw(ctx, "Cannot open document: '%s'\n", filename); } - - LOGE("Loading page tree..."); - fz_try(ctx) - { - pdf_load_page_tree(xref); - } - fz_catch(ctx) - { - fz_throw(ctx, "Cannot load page tree: '%s'\n", filename); - } pages = pdf_count_pages(xref); LOGE("Done! %d pages", pages); } -- cgit v1.2.3