coverity#704947 Dereference after null check

Change-Id: Iff2a146e217bb6953525ee86ddc84d8c134ab8aa
This commit is contained in:
Caolán McNamara
2014-03-25 10:19:14 +00:00
parent 5fa0e2a400
commit 145d278b22

View File

@@ -928,6 +928,7 @@ void SwCntntNode::Modify( const SfxPoolItem* pOldValue, const SfxPoolItem* pNewV
switch( nWhich )
{
case RES_OBJECTDYING :
if (pNewValue)
{
SwFmt * pFmt = (SwFmt *) ((SwPtrMsgPoolItem *)pNewValue)->pObject;