summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@libreoffice.org>2018-10-14 22:55:25 +0200
committerBjörn Michaelsen <bjoern.michaelsen@libreoffice.org>2018-10-15 21:56:55 +0200
commitbafd49fb4d72b6dbb10b2fea1386d295dc9d435c (patch)
treec7f8273d9f7d51839411b051494208f53733f94d
parentaa75bf8b11c6e2e4fd7e9988c3c9d7db2420389a (diff)
tdf#118049 tdf#118833 tdf#118725: Fix some SwDepend regressions
(partial revert/fix of 83243003b46dfb258c2b41049b0e1cb82a2d7ddb) Change-Id: I96213a41b026ee6496516ad1d0a416c5708a2300 Reviewed-on: https://gerrit.libreoffice.org/61769 Tested-by: Jenkins Tested-by: Xisco Faulí <xiscofauli@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
-rw-r--r--sw/source/core/docnode/node.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx
index acafa528ac01..d59d39a820c2 100644
--- a/sw/source/core/docnode/node.cxx
+++ b/sw/source/core/docnode/node.cxx
@@ -1184,7 +1184,9 @@ SwFormatColl *SwContentNode::ChgFormatColl( SwFormatColl *pNewColl )
if( !IsModifyLocked() )
{
- ChkCondColl();
+ SwFormatChg aTmp1( pOldColl );
+ SwFormatChg aTmp2( pNewColl );
+ SwClientNotify( *this, sw::LegacyModifyHint(&aTmp1, &aTmp2) );
}
}
if ( IsInCache() )