summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_svx/SvxUnoTextContent.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_svx/SvxUnoTextContent.java')
-rw-r--r--qadevOOo/tests/java/mod/_svx/SvxUnoTextContent.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_svx/SvxUnoTextContent.java b/qadevOOo/tests/java/mod/_svx/SvxUnoTextContent.java
index f87ee5d31f36..3a63d7af185a 100644
--- a/qadevOOo/tests/java/mod/_svx/SvxUnoTextContent.java
+++ b/qadevOOo/tests/java/mod/_svx/SvxUnoTextContent.java
@@ -105,7 +105,7 @@ public class SvxUnoTextContent extends TestCase {
5000,3500,7500,5000,"Text");
DrawTools.getShapes(DrawTools.getDrawPage(xDrawDoc,0)).add(oShape) ;
- XSimpleText text = (XSimpleText) UnoRuntime.queryInterface
+ XSimpleText text = UnoRuntime.queryInterface
(XSimpleText.class, oShape) ;
XTextCursor cursor = text.createTextCursor() ;
@@ -120,7 +120,7 @@ public class SvxUnoTextContent extends TestCase {
text.insertControlCharacter(cursor,
ControlCharacter.PARAGRAPH_BREAK, false) ;
- xEA = (XEnumerationAccess) UnoRuntime.queryInterface
+ xEA = UnoRuntime.queryInterface
(XEnumerationAccess.class, text) ;
oObj = (XInterface) AnyConverter.toObject(