summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjan iversen <jani@documentfoundation.org>2015-12-04 12:45:43 +0100
committerNoel Grandin <noelgrandin@gmail.com>2015-12-08 06:29:02 +0000
commita9824e8e05bddbf8ec417c7e5447914dd22cb8e5 (patch)
tree9542dbeadc2c7a9973a85efcc3adcc0de2ec10a0
parent4211eaf1357045d39049b12e80ff282553bcd053 (diff)
cid#1326591, cid#1326590 useless call
The call does not do anything, removed. Change-Id: I24e37ec47551f7dc47a4be6f717f95800624500f Reviewed-on: https://gerrit.libreoffice.org/20392 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r--qadevOOo/runner/util/ValueComparer.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/qadevOOo/runner/util/ValueComparer.java b/qadevOOo/runner/util/ValueComparer.java
index dfc0768c5322..4d54d148fcf6 100644
--- a/qadevOOo/runner/util/ValueComparer.java
+++ b/qadevOOo/runner/util/ValueComparer.java
@@ -239,10 +239,13 @@ public class ValueComparer {
result = true;
else if(XInterface.class.isAssignableFrom(op1.getClass()) && XInterface.class.isAssignableFrom(op2.getClass()))
- compareInterfaces((XInterface)op1, (XInterface)op2);
-
+ {
+ // ignore
+ }
else if(Enum.class.isAssignableFrom(op1.getClass()) && Enum.class.isAssignableFrom(op2.getClass()))
- compareEnums((Enum)op1, (Enum)op2);
+ {
+ // ignore
+ }
else if(op1.getClass() == String.class && op2.getClass() == String.class) // is it a String ?
result = ((String)op1).equals(op2);