summaryrefslogtreecommitdiffstats
path: root/qadevOOo/tests/java/mod/_sw/XMLExporter.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/XMLExporter.java')
-rw-r--r--qadevOOo/tests/java/mod/_sw/XMLExporter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/XMLExporter.java b/qadevOOo/tests/java/mod/_sw/XMLExporter.java
index 66bcc8971825..b1c3d39b4b36 100644
--- a/qadevOOo/tests/java/mod/_sw/XMLExporter.java
+++ b/qadevOOo/tests/java/mod/_sw/XMLExporter.java
@@ -128,7 +128,7 @@ public class XMLExporter extends TestCase {
xEx.setSourceDocument(xTextDoc);
XSimpleText aText = xTextDoc.getText();
- XTextCursor curs = (XTextCursor) aText.createTextCursor();
+ XTextCursor curs = aText.createTextCursor();
aText.insertString(curs, TEST_STR, false);
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace(log) ;