diff options
author | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2020-11-02 19:08:23 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2020-11-02 22:34:11 +0100 |
commit | 5f9650e54247f1c27749ad4e4268aae69dabd47e (patch) | |
tree | 001656846b378cc76db103bc02ac0d637e04079e /sw/source/filter | |
parent | f7428465445851a3ab792b1238c45f08f52e5d31 (diff) |
move SwCondCollCondChg on top of SfxHint
... and get rid of ModifyNotifications along the way.
Change-Id: I10fc9d24743d50cef771ff63dae004d31dce1846
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105195
Tested-by: Jenkins
Reviewed-by: Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org>
Diffstat (limited to 'sw/source/filter')
-rw-r--r-- | sw/source/filter/xml/xmlfmt.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sw/source/filter/xml/xmlfmt.cxx b/sw/source/filter/xml/xmlfmt.cxx index 80d808aeeaec..789d6ed410f9 100644 --- a/sw/source/filter/xml/xmlfmt.cxx +++ b/sw/source/filter/xml/xmlfmt.cxx @@ -1044,11 +1044,8 @@ void SwXMLImport::UpdateTextCollConditions( SwDoc *pDoc ) default: break; } } - if( bSendModify ) - { - SwCondCollCondChg aMsg( pColl ); - pColl->ModifyNotification( &aMsg, &aMsg ); - } + if(bSendModify) + pColl->GetNotifier().Broadcast(sw::CondCollCondChg(*pColl)); } } } |