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

coverity#1437956 Dereference after null check

Change-Id: Idcfb63beb094a000c70f594542757ad2e4a577fc
Reviewed-on: https://gerrit.libreoffice.org/57459Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst b294def2
......@@ -1598,6 +1598,7 @@ void OutlineViewShell::UpdateTitleObject( SdPage* pPage, Paragraph const * pPara
if (pOPO)
{
pOPO->SetOutlinerMode( OutlinerMode::TitleObject );
assert(pTO);
pOPO->SetVertical( pTO->IsVerticalWriting() );
if( pTO->GetOutlinerParaObject() && (pOPO->GetTextObject() == pTO->GetOutlinerParaObject()->GetTextObject()) )
{
......
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