crashtesting: null deref on import of lp482242-3.rtf
since...
commit a991ad93dc
Date: Tue Oct 22 12:24:43 2019 +0200
tdf#121441 improve DOCX footnote import
Change-Id: I0c6b83bd1ff61b9fa3621896d59f126384530270
Reviewed-on: https://gerrit.libreoffice.org/82045
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -3265,8 +3265,11 @@ void DomainMapper::lcl_utext(const sal_uInt8 * data_, size_t len)
|
||||
// This skips the one from the footnote area and just uses the reference one.
|
||||
if (!m_pImpl->IsInFootOrEndnote())
|
||||
{
|
||||
auto xFootnote = m_pImpl->GetFootnoteContext()->GetFootnote();
|
||||
xFootnote->setLabel(xFootnote->getLabel() + sText);
|
||||
if (PropertyMapPtr pFootnoteContext = m_pImpl->GetFootnoteContext())
|
||||
{
|
||||
auto xFootnote = pFootnoteContext->GetFootnote();
|
||||
xFootnote->setLabel(xFootnote->getLabel() + sText);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user