summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2019-05-23 01:06:47 -0800
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2019-06-06 23:22:45 +0200
commitea3d32fc359a30216dac8fb0b9b79bb9d616026b (patch)
treef9eee1b4c6f6ce16a783a54b965f53fd25672cb8 /sfx2
parenta0b96ec3e1542957d85f51f27b9c1759c21f59a1 (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> (cherry picked from commit 0d6ec494f83fb26524bf3a5fc7af27c225293e87) Reviewed-on: https://gerrit.libreoffice.org/73538 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/templdlg.cxx3
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)
{