summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-29 16:58:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-30 09:06:49 +0200
commit07b71a93278f39c3cdac12e18643c70dc5042cdc (patch)
tree1f01c6265bbf7879ccef11636722743f35f8b9f9 /include
parent923c14135c21ffde2a19ca7875be6ebb79197740 (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/dialog.hxx2
1 files changed, 1 insertions, 1 deletions
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