diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc/text/_TextColumns.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/text/_TextColumns.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/ifc/text/_TextColumns.java b/qadevOOo/tests/java/ifc/text/_TextColumns.java index 716471624d90..a1cafda4f456 100644 --- a/qadevOOo/tests/java/ifc/text/_TextColumns.java +++ b/qadevOOo/tests/java/ifc/text/_TextColumns.java @@ -49,9 +49,8 @@ public class _TextColumns extends MultiPropertyTest { log.println("Testing with custom Property tester") ; testProperty("AutomaticDistance", new PropertyTester() { protected Object getNewValue(String propName, Object oldValue) { - XTextColumns xTC = (XTextColumns) - UnoRuntime.queryInterface - (XTextColumns.class,tEnv.getTestObject()); + XTextColumns xTC = UnoRuntime.queryInterface + (XTextColumns.class,tEnv.getTestObject()); int ref = xTC.getReferenceValue(); int setting = ( ( (Integer) oldValue).intValue() + ref) / 2; return new Integer(setting); |