diff options
author | Eike Rathke <erack@redhat.com> | 2022-09-06 21:41:51 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-09-07 08:23:05 +0200 |
commit | 4f1670950e230eaaea7e3533134cb60fd7785195 (patch) | |
tree | deca246a5cba5e1bda9dc9ba95120fece5bd26c7 | |
parent | Related: tdf#150307 Use SfxHintId::ScAreasChanged, tdf#137577 follow-up (diff) | |
download | core-4f1670950e230eaaea7e3533134cb60fd7785195.tar.gz core-4f1670950e230eaaea7e3533134cb60fd7785195.zip |
Resolves: tdf#150829 Broadcast missing ScAreasChanged hint on sheet copy Undo
Change-Id: I354b1e395079067cd4cc9299501b3936dea00cd8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139538
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
(cherry picked from commit 922b79a0f5a9151a6870ba395abcac5b54055275)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139511
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r-- | sc/source/ui/undo/undotab.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx index 8cb2dc10d21b..bf9379e788ab 100644 --- a/sc/source/ui/undo/undotab.cxx +++ b/sc/source/ui/undo/undotab.cxx @@ -601,7 +601,9 @@ void ScUndoCopyTab::DoChange() const if (pViewShell) pViewShell->SetTabNo((*mpOldTabs)[0],true); - SfxGetpApp()->Broadcast( SfxHint( SfxHintId::ScTablesChanged ) ); // Navigator + SfxApplication* pSfxApp = SfxGetpApp(); // Navigator + pSfxApp->Broadcast( SfxHint( SfxHintId::ScTablesChanged ) ); + pSfxApp->Broadcast( SfxHint( SfxHintId::ScAreasChanged ) ); pDocShell->PostPaintGridAll(); pDocShell->PostPaintExtras(); |