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

coverity#1426168 Dereference after null check

Change-Id: Ib3ae45a7b012775ee7d540a565c0324f8dcf456e
Reviewed-on: https://gerrit.libreoffice.org/46611Tested-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 4099b762
......@@ -758,7 +758,7 @@ void SwFlyFrame::UpdateAttr_( const SfxPoolItem *pOld, const SfxPoolItem *pNew,
if ( FrameSizeChg( rNew ) )
NotifyDrawObj();
rInvFlags |= 0x7F;
if ( RES_FMT_CHG == nWhich )
if (pOld && RES_FMT_CHG == nWhich)
{
SwRect aNew( GetObjRectWithSpaces() );
SwRect aOld( getFrameArea() );
......
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