summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java2
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;