desktop/source/lib/init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 96b365709ca1c8922cecd1516f895f64b5e380b3 Author: Pranav Kant <pran...@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 <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@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(); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits