diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-01-20 11:03:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-01-20 11:03:40 +0000 |
commit | b45de8782ce6be2250f82bc19c4f298ede8a2f43 (patch) | |
tree | 023a2570c716577da54c349dd41948c08ec4ab13 /qadevOOo/tests | |
parent | 24bfa15bd3d169022dafba177da29e49241892e8 (diff) |
coverity#1326464 Dereference null return value
Change-Id: I3100f2a9ea1362c6ace7caad4c3b6e59f7f4cb86
Diffstat (limited to 'qadevOOo/tests')
-rw-r--r-- | qadevOOo/tests/java/ifc/document/_XViewDataSupplier.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/ifc/document/_XViewDataSupplier.java b/qadevOOo/tests/java/ifc/document/_XViewDataSupplier.java index e2de9f6c5d00..81a92e7c3ea7 100644 --- a/qadevOOo/tests/java/ifc/document/_XViewDataSupplier.java +++ b/qadevOOo/tests/java/ifc/document/_XViewDataSupplier.java @@ -58,7 +58,7 @@ public class _XViewDataSupplier extends MultiMethodTest { oObj.setViewData(xAccess); XIndexAccess xAccess2 = oObj.getViewData(); String newView = getViewID(xAccess2); - tRes.tested("setViewData()", newView.equals(myview)); + tRes.tested("setViewData()", newView != null && newView.equals(myview)); } } |