From 07b71a93278f39c3cdac12e18643c70dc5042cdc Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 29 Aug 2018 16:58:07 +0100 Subject: the 0 default for EndDialog means RET_CANCEL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I41b01719d147b0ae6899f8323dfa13326f480b4a Reviewed-on: https://gerrit.libreoffice.org/59767 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- include/vcl/dialog.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 -- cgit