[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - desktop/source
Pranav Kant
pranavk at collabora.co.uk
Tue Jan 2 14:29:54 UTC 2018
desktop/source/lib/init.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 96b365709ca1c8922cecd1516f895f64b5e380b3
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Tue Dec 19 22:51:00 2017 +0530
lokdialog: Handle closing of modeless dialogs too
Change-Id: I87ed60e940fad199b14a2e2179cc1f10008bfe93
(cherry picked from commit 2bed0b64d2766121b9eed46c7cdcfb01efa0ac10)
Reviewed-on: https://gerrit.libreoffice.org/46804
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index dd843e83e68d..2f385341e939 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3335,7 +3335,7 @@ static void doc_postWindow(LibreOfficeKitDocument* /*pThis*/, unsigned nLOKWindo
if (Dialog* pDialog = dynamic_cast<Dialog*>(pWindow.get()))
{
if (nAction == LOK_WINDOW_CLOSE)
- pDialog->EndDialog( RET_CANCEL );
+ pDialog->Close();
}
}
More information about the Libreoffice-commits
mailing list