summaryrefslogtreecommitdiff
path: root/sd/source/ui/view
diff options
context:
space:
mode:
authorMark Hung <marklh9@gmail.com>2018-06-18 23:16:12 +0800
committerMark Hung <marklh9@gmail.com>2018-06-24 03:51:35 +0200
commit3e768ce8260ed442b02c884c5a6bfac421dbcec9 (patch)
tree462e754781a5a5a3d24e8f56b9f470714aa7ff79 /sd/source/ui/view
parent03c14b836ab03735870b36c2388fd88782b97550 (diff)
tdf#45178 notify object rename and update effect description.
Change-Id: Ib63147a9f4dceb35e21bcf0ca5c1afebf5263721 Reviewed-on: https://gerrit.libreoffice.org/56048 Tested-by: Jenkins Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r--sd/source/ui/view/drviews2.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index c9879eec60ae..c7bd428a3a10 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -2506,6 +2506,10 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
{
pDlg->GetName(aName);
pSelected->SetName(aName);
+
+ SdPage* pPage = GetActualPage();
+ if (pPage)
+ pPage->notifyObjectRenamed(pSelected);
}
}