diff options
-rw-r--r-- | sw/source/core/docnode/node.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx index e7c8c6bf85ee..c514f5445bdd 100644 --- a/sw/source/core/docnode/node.cxx +++ b/sw/source/core/docnode/node.cxx @@ -956,7 +956,7 @@ void SwCntntNode::Modify( const SfxPoolItem* pOldValue, const SfxPoolItem* pNewV case RES_FMT_CHG: // If the Format parent was switched, register the Attrset at the new one // Skip own Modify! - if( GetpSwAttrSet() && + if( GetpSwAttrSet() && pNewValue && ((SwFmtChg*)pNewValue)->pChangedFmt == GetRegisteredIn() ) { // Attach Set to the new parent |