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

coverity#704921 Dereference after null check

Change-Id: I8b8186935f37981512554d06cd52a47fdc7209e0
üst 4a679c92
......@@ -4939,7 +4939,7 @@ void SwCellFrm::Modify( const SfxPoolItem* pOld, const SfxPoolItem * pNew )
if( bAttrSetChg )
((SwAttrSetChg*)pNew)->GetChgSet()->GetItemState( RES_VERT_ORIENT, false, &pItem);
else if ( RES_VERT_ORIENT == pNew->Which() )
else if (pNew && RES_VERT_ORIENT == pNew->Which())
pItem = pNew;
if ( pItem )
......
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