summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java')
-rw-r--r--qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java b/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java
index d601f1f2251b..c0059c718758 100644
--- a/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java
+++ b/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java
@@ -128,12 +128,10 @@ public class _XSelectionSupplier extends MultiMethodTest {
compRes = util.ValueComparer.equalValue(selections[i], curSelection);
}
log.println("selected object and current selection are equal: "+compRes);
- if (!compRes) {
- if ((selections[i]) instanceof Object[]){
- if (((Object[])selections[i])[0] instanceof Integer) {
- log.println("Getting: "+((Integer) ((Object[])curSelection)[0]).intValue());
- log.println("Expected: "+((Integer) ((Object[])selections[i])[0]).intValue());
- }
+ if (!compRes && (selections[i]) instanceof Object[]){
+ if (((Object[])selections[i])[0] instanceof Integer) {
+ log.println("Getting: "+((Integer) ((Object[])curSelection)[0]).intValue());
+ log.println("Expected: "+((Integer) ((Object[])selections[i])[0]).intValue());
}
}
res &= compRes;