include/vcl/dialog.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 07b71a93278f39c3cdac12e18643c70dc5042cdc
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Aug 29 16:58:07 2018 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Aug 30 09:06:49 2018 +0200

    the 0 default for EndDialog means RET_CANCEL
    
    Change-Id: I41b01719d147b0ae6899f8323dfa13326f480b4a
    Reviewed-on: https://gerrit.libreoffice.org/59767
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx
index 440aacf479af..984330476a1a 100644
--- a/include/vcl/dialog.hxx
+++ b/include/vcl/dialog.hxx
@@ -164,7 +164,7 @@ public:
     // Dialog::Execute replacement API
 
 
-    void            EndDialog( long nResult = 0 );
+    void            EndDialog( long nResult = RET_CANCEL );
     static void     EndAllDialogs( vcl::Window const * pParent );
 
     // returns the most recent of the currently executing modal dialogs
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to