[Libreoffice-commits] core.git: include/vcl

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Aug 30 07:07:15 UTC 2018


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

New commits:
commit 07b71a93278f39c3cdac12e18643c70dc5042cdc
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Aug 29 16:58:07 2018 +0100
Commit:     Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at 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


More information about the Libreoffice-commits mailing list