From 8bbd13958f33e7786bbdb2d001d3348d8b49e8b8 Mon Sep 17 00:00:00 2001 From: Fred Ross-Perry Date: Fri, 28 Oct 2016 14:41:09 -0700 Subject: adapt to api change for toStructuredText. No arguments are necessary. --- .../mupdf/src/main/java/com/artifex/mupdf/android/DocPageView.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'platform/android') diff --git a/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/DocPageView.java b/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/DocPageView.java index 60611b2a..a726d2a3 100644 --- a/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/DocPageView.java +++ b/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/DocPageView.java @@ -447,8 +447,7 @@ public class DocPageView extends View implements Callback mSelection = new ArrayList<>(); // get structured text and the block structure - int options = 0; // what should these be? - StructuredText structuredText = getPage().toStructuredText(options); + StructuredText structuredText = getPage().toStructuredText(); StructuredText.TextBlock textBlocks[] = structuredText.getBlocks(); for (StructuredText.TextBlock block : textBlocks) @@ -597,8 +596,7 @@ public class DocPageView extends View implements Callback Point pPage = screenToPage(p.x, p.y); // get structured text and the block structure - int options = 0; // what should these be? - StructuredText structuredText = getPage().toStructuredText(options); + StructuredText structuredText = getPage().toStructuredText(); StructuredText.TextBlock textBlocks[] = structuredText.getBlocks(); StructuredText.TextBlock block = blockContainingPoint(textBlocks, pPage); -- cgit v1.2.3