summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2022-09-05 20:31:05 +0200
committerEike Rathke <erack@redhat.com>2022-09-06 01:20:14 +0200
commit540a312af2f02108ea90f5d2a9f3bf573db622e5 (patch)
tree181ce0fbc78116097490d0abe61a47f13ac4d036 /sc/source/ui/docshell
parent47981aeb3a233a01a8b099d3fe2c3f5a8a9cfb7b (diff)
Related: tdf#150307 Use SfxHintId::ScAreasChanged, tdf#137577 follow-up
... instead of ScTablesRenamed, as ScAreasChanged (confusingly named) was meant exactly for this and also updates the Navigator. Change-Id: I6d90b82e6d5121e69c1a40af369be36544ad1b3b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139453 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r--sc/source/ui/docshell/docfunc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index 9b7c64eabc79..1e00b82d2cf4 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -3523,7 +3523,7 @@ bool ScDocFunc::RenameTable( SCTAB nTab, const OUString& rName, bool bRecord, bo
rDocShell.PostPaintExtras();
aModificator.SetDocumentModified();
SfxGetpApp()->Broadcast( SfxHint( SfxHintId::ScTablesChanged ) );
- SfxGetpApp()->Broadcast( SfxHint( SfxHintId::ScTablesRenamed ) );
+ SfxGetpApp()->Broadcast( SfxHint( SfxHintId::ScAreasChanged ) );
bSuccess = true;
}