diff options
Diffstat (limited to 'android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java')
-rw-r--r-- | android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java b/android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java index 127972d998d4..f977866a282e 100644 --- a/android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java +++ b/android/source/src/java/org/libreoffice/overlay/DocumentOverlay.java @@ -67,7 +67,7 @@ public class DocumentOverlay { } public DocumentOverlay(LibreOfficeMainActivity context, LayerView layerView) { - mDocumentOverlayView = (DocumentOverlayView) context.findViewById(R.id.text_cursor_view); + mDocumentOverlayView = context.findViewById(R.id.text_cursor_view); mDocumentOverlayLayer = new DocumentOverlayLayer(); if (mDocumentOverlayView == null) { Log.e(LOGTAG, "Failed to initialize TextCursorLayer - CursorView is null"); |