coverity#735799 Dereference after null check
Change-Id: Id499cb873938621762f0e213fa17505fefb33574
This commit is contained in:
@@ -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())
|
||||||
|
Reference in New Issue
Block a user