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

coverity#735799 Dereference after null check

Change-Id: Id499cb873938621762f0e213fa17505fefb33574
üst 9a89ae59
...@@ -1928,6 +1928,8 @@ void ScXMLExport::_ExportContent() ...@@ -1928,6 +1928,8 @@ void ScXMLExport::_ExportContent()
sal_Int32 nShapesCount(0); sal_Int32 nShapesCount(0);
CollectSharedData(nTableCount, nShapesCount); CollectSharedData(nTableCount, nShapesCount);
OSL_FAIL("no shared data setted"); OSL_FAIL("no shared data setted");
if (!pSharedData)
return;
} }
ScXMLExportDatabaseRanges aExportDatabaseRanges(*this); ScXMLExportDatabaseRanges aExportDatabaseRanges(*this);
if (!GetModel().is()) if (!GetModel().is())
......
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