summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-01-20 16:54:58 +0000
committerRobin Watts <robin.watts@artifex.com>2012-01-20 16:55:42 +0000
commit00ab7bd42463a4547dd563dd16cc99236c980459 (patch)
treeda5ad1f526898e10a10725fc2bea01a35ad4e649 /android
parent8e59740d3ac9e6cdcc08baf1745f0808f2dc9df5 (diff)
downloadmupdf-00ab7bd42463a4547dd563dd16cc99236c980459.tar.xz
Update Android build to cope with removal of pdf_load_page_tree.
Just mirror the changes done in pdfdraw.
Diffstat (limited to 'android')
-rw-r--r--android/jni/mupdf.c10
1 files changed, 0 insertions, 10 deletions
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);
}