summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-20 15:57:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-20 21:13:29 +0200
commit74ce2c90ecc6f6375ff6743efdd0b84358ebd6a3 (patch)
tree35483f1d77554dfa7dc056458dc91c0192197b22 /qadevOOo
parent90011180cb21186dbd58b8be6d7ffff23416541e (diff)
cid#1448454 RV: Bad use of return value
Change-Id: I704b432a09bb4bbd0192bd0a3ae6b39012a14110 Reviewed-on: https://gerrit.libreoffice.org/76024 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java b/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java
index e262a15c8a33..dc775c6e1d8c 100644
--- a/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java
+++ b/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java
@@ -319,7 +319,7 @@ public class _XMultiSelectionSupplier extends MultiMethodTest {
i++;
if (ObjCompare != null) {
- ObjCompare.compare(shouldElement, nextElement);
+ compRes = ObjCompare.compare(shouldElement, nextElement) == 0;
} else {
compRes = util.ValueComparer.equalValue(shouldElement, nextElement);
}