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

coverity#704914 Dereference after null check

Change-Id: Ib52b2d6cd7339320b7ec00d874f8c7c1de87e59d
üst 64f41f1a
......@@ -2357,8 +2357,12 @@ void SwSectionFrm::_UpdateAttr( const SfxPoolItem *pOld, const SfxPoolItem *pNew
case RES_COL:
if( !IsInFtn() )
{
ChgColumns( *(const SwFmtCol*)pOld, *(const SwFmtCol*)pNew );
rInvFlags |= 0x11;
assert(pOld && pNew);
if (pOld && pNew)
{
ChgColumns( *(const SwFmtCol*)pOld, *(const SwFmtCol*)pNew );
rInvFlags |= 0x11;
}
}
break;
......
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