summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/text/_BaseIndex.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/text/_BaseIndex.java')
-rw-r--r--qadevOOo/tests/java/ifc/text/_BaseIndex.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/ifc/text/_BaseIndex.java b/qadevOOo/tests/java/ifc/text/_BaseIndex.java
index 2176db890b24..c0a3863a7383 100644
--- a/qadevOOo/tests/java/ifc/text/_BaseIndex.java
+++ b/qadevOOo/tests/java/ifc/text/_BaseIndex.java
@@ -61,7 +61,7 @@ public class _BaseIndex extends MultiPropertyTest {
*/
protected PropertyTester CustomTester = new PropertyTester() {
protected Object getNewValue(String propName, Object oldValue) {
- XTextColumns TC = (XTextColumns) UnoRuntime.queryInterface(
+ XTextColumns TC = UnoRuntime.queryInterface(
XTextColumns.class, oldValue);
TC.setColumnCount((short) (TC.getColumnCount() + (short) 1));
@@ -103,7 +103,7 @@ public class _BaseIndex extends MultiPropertyTest {
PropertyValue[][] oldVal = null;
protected Object getNewValue(String propName, Object oldValue) {
- XIndexReplace indProp = (XIndexReplace) UnoRuntime.queryInterface(
+ XIndexReplace indProp = UnoRuntime.queryInterface(
XIndexReplace.class, oldValue);
try {
@@ -162,7 +162,7 @@ public class _BaseIndex extends MultiPropertyTest {
* value into <code>log</code>.
*/
private void printLevelFormatProperty(Object value) {
- XIndexReplace indProp = (XIndexReplace) UnoRuntime.queryInterface(
+ XIndexReplace indProp = UnoRuntime.queryInterface(
XIndexReplace.class, value);
PropertyValue[][] val = null;