summaryrefslogtreecommitdiffstats
path: root/qadevOOo/tests
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-18 12:38:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-19 09:37:55 +0200
commitbaf0502fe915365c09dabb9dc9eb08956ec4bcdc (patch)
treea50cc1f32fa03a5a70cf2fe17f71e37d76c9eb00 /qadevOOo/tests
parentcid#704863 Dereference after null check (diff)
downloadcore-baf0502fe915365c09dabb9dc9eb08956ec4bcdc.tar.gz
core-baf0502fe915365c09dabb9dc9eb08956ec4bcdc.zip
cid#1448215 RV: Bad use of return value
Change-Id: Ie974436b9d639a676336a95d5fef6545869e1ca8 Reviewed-on: https://gerrit.libreoffice.org/75922 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'qadevOOo/tests')
-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 fa875234cbda..e262a15c8a33 100644
--- a/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java
+++ b/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java
@@ -390,7 +390,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);
}