coverity#735799 Dereference after null check

Change-Id: Id499cb873938621762f0e213fa17505fefb33574
This commit is contained in:
Caolán McNamara
2014-07-15 11:54:21 +01:00
parent 9a89ae5956
commit 0167897dde

View File

@@ -1928,6 +1928,8 @@ void ScXMLExport::_ExportContent()
sal_Int32 nShapesCount(0);
CollectSharedData(nTableCount, nShapesCount);
OSL_FAIL("no shared data setted");
if (!pSharedData)
return;
}
ScXMLExportDatabaseRanges aExportDatabaseRanges(*this);
if (!GetModel().is())