desktop/source/lib/init.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 25bb6cf5dc65712a9444becfa0d493f1708c6efb
Author: Pranav Kant <pran...@collabora.co.uk>
Date:   Fri Dec 1 16:09:43 2017 +0530

    fixup! lokdialog: Allow closing a dialog from LOK client
    
    Change-Id: I353336fcabf56518d391289c8d10b4ed62333c7f

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 0b3cc7ab8a68..2eb2693ac244 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3265,7 +3265,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_OK );
+            pDialog->EndDialog( RET_CANCEL );
     }
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to