From 77857808771f76ba18c1dfe745bffafaf45a131d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 3 Nov 2015 13:54:29 +0000 Subject: coverity#1326556 Dereference before null check Change-Id: I250a03387dd714d844019b363e3be1f2e2ed6a20 --- qadevOOo/tests/java/ifc/text/_XTextRange.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qadevOOo') 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(""); } -- cgit