diff --git a/lib/src/main/java/com/artifex/mupdf/viewer/ReaderView.java b/lib/src/main/java/com/artifex/mupdf/viewer/ReaderView.java index 30d110c..abf84f0 100644 --- a/lib/src/main/java/com/artifex/mupdf/viewer/ReaderView.java +++ b/lib/src/main/java/com/artifex/mupdf/viewer/ReaderView.java @@ -67,7 +67,7 @@ public class ReaderView private int mScrollerLastY; private float mLastScaleFocusX; private float mLastScaleFocusY; - private StructuredText mST = new StructuredText(this); + private StructuredText mST = new StructuredText(123); protected Stack mHistory; static abstract class ViewMapper { @@ -907,7 +907,7 @@ public void setLinksEnabled(boolean b) { resetupChildren(); invalidate(); } - public int snapword(float x, float y) { + public int snapword(int x, int y) { Point tmp1 = new Point(); tmp1.x = x; tmp1.y = y;