Kaydet (Commit) b08e200c authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1326237 Dereference after null check

Change-Id: Iac84adff096c5b847b2a63ac57ddf5b2f5e34e11
üst 5adfcaaa
......@@ -490,11 +490,16 @@ public abstract class SxcDocumentDeserializer implements OfficeConstants,
Debug.log(Debug.TRACE, "<tr>");
}
if (rowElement == null) {
//utterly busted
break;
}
// Get the column number of the current cell
int newCol = decoder.getColNumber();
// Check to see if some columns were skipped
if (newCol != col && rowElement != null) {
if (newCol != col) {
// How many columns have we skipped?
int numColsSkipped = newCol - col;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment