summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-01-20 11:03:40 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-01-20 11:03:40 +0000
commitb45de8782ce6be2250f82bc19c4f298ede8a2f43 (patch)
tree023a2570c716577da54c349dd41948c08ec4ab13 /qadevOOo
parent24bfa15bd3d169022dafba177da29e49241892e8 (diff)
coverity#1326464 Dereference null return value
Change-Id: I3100f2a9ea1362c6ace7caad4c3b6e59f7f4cb86
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/ifc/document/_XViewDataSupplier.java2
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));
}
}