diff options
author | Jim Raykowski <raykowj@gmail.com> | 2019-05-23 01:06:47 -0800 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2019-06-05 10:34:56 +0200 |
commit | 0d6ec494f83fb26524bf3a5fc7af27c225293e87 (patch) | |
tree | b26f7cd16eea1aae6859638ea4aa79e316b54a7a /sfx2/source/dialog/templdlg.cxx | |
parent | ada2b5be85f8c4d16c627a990e3f362ae0663d9f (diff) |
tdf#124152 Broadcast StyleSheetModified to update style tree list box
...and also make undo redo update
Change-Id: I49d62d487bed27d9dbe2ab813d992d02ecaeb77a
Reviewed-on: https://gerrit.libreoffice.org/72826
Tested-by: Jenkins
Tested-by: Xisco Faulí <xiscofauli@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sfx2/source/dialog/templdlg.cxx')
-rw-r--r-- | sfx2/source/dialog/templdlg.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx index e47900441476..98db80802603 100644 --- a/sfx2/source/dialog/templdlg.cxx +++ b/sfx2/source/dialog/templdlg.cxx @@ -1489,7 +1489,8 @@ void SfxCommonTemplateDialog_Impl::Notify(SfxBroadcaster& /*rBC*/, const SfxHint if(!bDontUpdate && nId != SfxHintId::Dying && (dynamic_cast<const SfxStyleSheetPoolHint*>(&rHint) || dynamic_cast<const SfxStyleSheetHint*>(&rHint) || - dynamic_cast<const SfxStyleSheetModifiedHint*>(&rHint))) + dynamic_cast<const SfxStyleSheetModifiedHint*>(&rHint) || + nId == SfxHintId::StyleSheetModified)) { if(!pIdle) { |