summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/text/_TextGraphicObject.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/text/_TextGraphicObject.java')
-rw-r--r--qadevOOo/tests/java/ifc/text/_TextGraphicObject.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/text/_TextGraphicObject.java b/qadevOOo/tests/java/ifc/text/_TextGraphicObject.java
index 1b5aaa6c1d0f..e967d89d8dd3 100644
--- a/qadevOOo/tests/java/ifc/text/_TextGraphicObject.java
+++ b/qadevOOo/tests/java/ifc/text/_TextGraphicObject.java
@@ -103,7 +103,7 @@ public class _TextGraphicObject extends MultiPropertyTest {
boolean result = true;
try {
- XIndexContainer imgMap = (XIndexContainer) UnoRuntime.queryInterface(
+ XIndexContainer imgMap = UnoRuntime.queryInterface(
XIndexContainer.class,
oObj.getPropertyValue("ImageMap"));
int previous = imgMap.getCount();
@@ -112,7 +112,7 @@ public class _TextGraphicObject extends MultiPropertyTest {
Object im = tEnv.getObjRelation("IMGMAP");
imgMap.insertByIndex(0, im);
oObj.setPropertyValue("ImageMap", imgMap);
- imgMap = (XIndexContainer) UnoRuntime.queryInterface(
+ imgMap = UnoRuntime.queryInterface(
XIndexContainer.class,
oObj.getPropertyValue("ImageMap"));