diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 10:38:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 12:16:06 +0000 |
commit | 4e6f348ed92a1b3719bf80059d6ceed5ab638601 (patch) | |
tree | f0465c571c9e7ce36b4f19fbd4a6caac3cc2e322 /qadevOOo | |
parent | 199fd5ce980e1a14db5a07fb8c565de2aea72ccd (diff) |
coverity#1326562 Dereference before null check
Change-Id: I3f24c355e57fddf36e5af141bf10d43e72257f4f
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/ifc/document/_XLinkTargetSupplier.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/ifc/document/_XLinkTargetSupplier.java b/qadevOOo/tests/java/ifc/document/_XLinkTargetSupplier.java index 9a10e5697278..1cc5b32994a6 100644 --- a/qadevOOo/tests/java/ifc/document/_XLinkTargetSupplier.java +++ b/qadevOOo/tests/java/ifc/document/_XLinkTargetSupplier.java @@ -42,9 +42,7 @@ public class _XLinkTargetSupplier extends MultiMethodTest { public void _getLinks() { XNameAccess links = oObj.getLinks(); links.getElementNames(); - tRes.tested("getLinks()", links != null); + tRes.tested("getLinks()", true); } } - - |