diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-01-15 10:14:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-01-15 20:24:48 +0000 |
commit | 506d18aa3bfc966b79f447dfc850c547568be7cd (patch) | |
tree | ea513421eec25361ba5a1b0169e781321e348a62 /qadevOOo | |
parent | 65abc5e30181d68baf47e18d2b7b0292be7f92f1 (diff) |
coverity#1326416 Dereference null return value
Change-Id: I8c215da294d6c48d37849c25c40d8632f1949fba
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java index 72f3ceaf6c0b..92f9d2c1fc6f 100644 --- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java +++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java @@ -471,7 +471,7 @@ public class _XDataPilotTable2 extends MultiMethodTest private boolean checkDrillDownSheetContent(XSpreadsheet xSheet, Object[][] data) { CellAddress lastCell = getLastUsedCellAddress(xSheet, 0, 0); - if (data.length <= 0 || lastCell.Row == 0 || lastCell.Column == 0) + if (data.length <= 0 || lastCell == null || lastCell.Row == 0 || lastCell.Column == 0) { log.println("empty data condition"); return false; |