summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewfun2.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2022-09-05 20:06:56 +0200
committerEike Rathke <erack@redhat.com>2022-09-06 12:20:40 +0200
commit0ff4a77f337237a5cad1d44390ff924af3992ff8 (patch)
tree94d6600685958da8e8835c36f773ee598daacced /sc/source/ui/view/viewfun2.cxx
parent6566c01192f73c687fa12f1d5ca816ded879efbb (diff)
Resolves: tdf#150307 Broadcast missing ScAreasChanged hint on sheet deletion
... and Undo. Change-Id: I59413d5470294c415c51e7d7ada9134f4173c872 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139450 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'sc/source/ui/view/viewfun2.cxx')
-rw-r--r--sc/source/ui/view/viewfun2.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index 634d41f4df17..6ed5394af2c6 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -2635,6 +2635,7 @@ bool ScViewFunc::DeleteTables(const vector<SCTAB> &TheTabs, bool bRecord )
SfxApplication* pSfxApp = SfxGetpApp(); // Navigator
pSfxApp->Broadcast( SfxHint( SfxHintId::ScTablesChanged ) );
+ pSfxApp->Broadcast( SfxHint( SfxHintId::ScAreasChanged ) );
pSfxApp->Broadcast( SfxHint( SfxHintId::ScDbAreasChanged ) );
pSfxApp->Broadcast( SfxHint( SfxHintId::ScAreaLinksChanged ) );
}