[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - sc/source
Jan Holesovsky
kendy at collabora.com
Thu Jan 18 12:44:50 UTC 2018
sc/source/ui/view/tabvwsha.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit c8baf1ba73cd4671d6ba8b9bc725209235ec0ee1
Author: Jan Holesovsky <kendy at collabora.com>
Date: Tue Jan 16 13:40:18 2018 +0100
lokdialog: Don't output anything for the incoming SfxRequest.
Change-Id: I1b216b7348a46835df3c2d307ce17bca64199997
Reviewed-on: https://gerrit.libreoffice.org/47987
Reviewed-by: pranavk <pranavk at collabora.co.uk>
Tested-by: pranavk <pranavk at collabora.co.uk>
diff --git a/sc/source/ui/view/tabvwsha.cxx b/sc/source/ui/view/tabvwsha.cxx
index 4753de415735..06c7ef175f83 100644
--- a/sc/source/ui/view/tabvwsha.cxx
+++ b/sc/source/ui/view/tabvwsha.cxx
@@ -546,6 +546,8 @@ void ScTabViewShell::ExecuteCellFormatDlg(SfxRequest& rReq, const OString &rName
pDlg->SetCurPageId(rName);
std::shared_ptr<SfxRequest> pRequest(new SfxRequest(rReq));
+ rReq.Ignore(); // the 'old' request is not relevant any more
+
pDlg->StartExecuteAsync([=](sal_Int32 nResult){
bInFormatDialog = false;
More information about the Libreoffice-commits
mailing list