diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-18 12:38:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-19 09:37:55 +0200 |
commit | baf0502fe915365c09dabb9dc9eb08956ec4bcdc (patch) | |
tree | a50cc1f32fa03a5a70cf2fe17f71e37d76c9eb00 /qadevOOo/tests/java/ifc | |
parent | 1692c206e582c42b50308b72509bf86874afaf73 (diff) |
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/java/ifc')
-rw-r--r-- | qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java | 2 |
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); } |