diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-15 11:54:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-15 11:56:08 +0100 |
commit | 0167897dde8c56d418aa210b7310644fc53e7151 (patch) | |
tree | ae8795d551f6892e6a2d6d708d7b253084cd70a1 /sc | |
parent | 9a89ae59567af5f7c6fbc92ada7dabfac11deaf3 (diff) |
coverity#735799 Dereference after null check
Change-Id: Id499cb873938621762f0e213fa17505fefb33574
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index 11f8a9f427cd..2b4cbef96e06 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -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()) |