diff options
-rw-r--r-- | sw/source/core/attr/format.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/attr/format.cxx b/sw/source/core/attr/format.cxx index e8c4c2d73a27..0cca34ca5a8c 100644 --- a/sw/source/core/attr/format.cxx +++ b/sw/source/core/attr/format.cxx @@ -238,11 +238,11 @@ SwFmt::~SwFmt() } else { + SwFmtChg aOldFmt( this ); + SwFmtChg aNewFmt( pParentFmt ); SwIterator<SwClient,SwFmt> aIter(*this); for(SwClient* pClient = aIter.First(); pClient && pParentFmt; pClient = aIter.Next()) { - SwFmtChg aOldFmt( this ); - SwFmtChg aNewFmt( pParentFmt ); pParentFmt->Add( pClient ); pClient->ModifyNotification( &aOldFmt, &aNewFmt ); } |