summaryrefslogtreecommitdiffstats
path: root/qadevOOo/tests/java/mod/_sw/SwXTextViewCursor.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/SwXTextViewCursor.java')
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXTextViewCursor.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/SwXTextViewCursor.java b/qadevOOo/tests/java/mod/_sw/SwXTextViewCursor.java
index 3a160a55c901..00b6af83262c 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXTextViewCursor.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXTextViewCursor.java
@@ -94,8 +94,7 @@ public class SwXTextViewCursor extends TestCase {
// create testobject here
oObj = xTextDoc.getCurrentController();
- XTextViewCursorSupplier oTVCSupp = (XTextViewCursorSupplier)
- UnoRuntime.queryInterface(XTextViewCursorSupplier.class, oObj);
+ XTextViewCursorSupplier oTVCSupp = UnoRuntime.queryInterface(XTextViewCursorSupplier.class, oObj);
oObj = oTVCSupp.getViewCursor();