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

coverity#704947 Dereference after null check

Change-Id: Iea0a789b842b9bb05e4c774460e56e2ed0f5f74e
üst 2e897397
...@@ -970,7 +970,7 @@ void SwCntntNode::Modify( const SfxPoolItem* pOldValue, const SfxPoolItem* pNewV ...@@ -970,7 +970,7 @@ void SwCntntNode::Modify( const SfxPoolItem* pOldValue, const SfxPoolItem* pNewV
//FEATURE::CONDCOLL //FEATURE::CONDCOLL
case RES_CONDCOLL_CONDCHG: case RES_CONDCOLL_CONDCHG:
if( ((SwCondCollCondChg*)pNewValue)->pChangedFmt == GetRegisteredIn() && if( pNewValue && ((SwCondCollCondChg*)pNewValue)->pChangedFmt == GetRegisteredIn() &&
&GetNodes() == &GetDoc()->GetNodes() ) &GetNodes() == &GetDoc()->GetNodes() )
{ {
ChkCondColl(); ChkCondColl();
......
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