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

coverity#1187683 Dereference null return value

Change-Id: I57f459ed5ca3634109e986988069bc485bdcb7cd
üst 38c143c1
...@@ -1146,7 +1146,8 @@ void ScXMLTableRowCellContext::PutValueCell( const ScAddress& rCurrentPos ) ...@@ -1146,7 +1146,8 @@ void ScXMLTableRowCellContext::PutValueCell( const ScAddress& rCurrentPos )
{ {
ScFormulaCell* pFCell = rXMLImport.GetDocument()->GetFormulaCell(rCurrentPos); ScFormulaCell* pFCell = rXMLImport.GetDocument()->GetFormulaCell(rCurrentPos);
SetFormulaCell(pFCell); SetFormulaCell(pFCell);
pFCell->SetNeedNumberFormat( true ); if (pFCell)
pFCell->SetNeedNumberFormat( true );
} }
} }
else //regular value cell else //regular value cell
......
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