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

coverity#735800 Dereference after null check

Change-Id: I025569d39ed4497938770b7df21fcef32cc83825
Reviewed-on: https://gerrit.libreoffice.org/55600Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst d17e8faa
......@@ -1806,7 +1806,7 @@ void SAL_CALL ScXMLImport::endDocument()
}
// There are rows with optimal height which need to be updated
if (!maRecalcRowRanges.empty())
if (pDoc && !maRecalcRowRanges.empty())
{
bool bLockHeight = pDoc->IsAdjustHeightLocked();
if (bLockHeight)
......
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