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

coverity#1326237 Explicit null dereferenced

Change-Id: Ic3ab796da48e28efaf1628f28b8632dd00c041b2
üst 52e8a806
...@@ -494,7 +494,7 @@ public abstract class SxcDocumentDeserializer implements OfficeConstants, ...@@ -494,7 +494,7 @@ public abstract class SxcDocumentDeserializer implements OfficeConstants,
int newCol = decoder.getColNumber(); int newCol = decoder.getColNumber();
// Check to see if some columns were skipped // Check to see if some columns were skipped
if (newCol != col) { if (newCol != col && rowElement != null) {
// How many columns have we skipped? // How many columns have we skipped?
int numColsSkipped = newCol - col; int numColsSkipped = newCol - col;
...@@ -738,4 +738,4 @@ public abstract class SxcDocumentDeserializer implements OfficeConstants, ...@@ -738,4 +738,4 @@ public abstract class SxcDocumentDeserializer implements OfficeConstants,
} }
} }
} }
} }
\ No newline at end of file
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