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

coverity#704999 Unchecked dynamic_cast

Change-Id: I09b2e3f0b1989249fc49ebc3256dd6fcf5762e75
Reviewed-on: https://gerrit.libreoffice.org/8424Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 4f7aa27c
......@@ -2869,7 +2869,7 @@ void AttributeOutputBase::TextField( const SwFmtFld& rField )
{
const SwInputField * pInputField = dynamic_cast<const SwInputField *>(pFld);
if (pInputField->isFormField())
if (pInputField && pInputField->isFormField())
GetExport().DoFormText(pInputField);
else
{
......
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