diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-03 13:54:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-04 13:55:55 +0000 |
commit | 77857808771f76ba18c1dfe745bffafaf45a131d (patch) | |
tree | 11b8f3190318cb8bf37be4e720a6f5a2fa6a0b5f /qadevOOo | |
parent | 0e3e4ca53275cef263a53a58b25fc33d0d95c5bf (diff) |
coverity#1326556 Dereference before null check
Change-Id: I250a03387dd714d844019b363e3be1f2e2ed6a20
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/ifc/text/_XTextRange.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/text/_XTextRange.java b/qadevOOo/tests/java/ifc/text/_XTextRange.java index 04a721f5c5d3..b96804ffbe3d 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextRange.java +++ b/qadevOOo/tests/java/ifc/text/_XTextRange.java @@ -115,8 +115,7 @@ public class _XTextRange extends MultiMethodTest { log.println("End: "+exp); - tRes.tested( "getEnd()", oEndRange != null && - exp.endsWith("End")); + tRes.tested( "getEnd()", exp.endsWith("End")); oEndRange.setString(""); } |