desktop/source/lib/init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit fbd537ae68ec587c323fb0f1674bdd7747b93d04 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 diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 13b072ec630f..670032a18211 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -3308,7 +3308,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