From 99ffbb9dc1c06704f3e259ee9765fbeb408b1629 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 10 Jan 2014 17:07:27 +0100 Subject: EndDialog takes long nResult, not bool Change-Id: I04210f48f091a652b7867754484a9c5dd6b19471 --- svtools/source/dialogs/restartdialog.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools/source/dialogs/restartdialog.cxx') diff --git a/svtools/source/dialogs/restartdialog.cxx b/svtools/source/dialogs/restartdialog.cxx index e5d64dec0bc6..8924c74386d5 100644 --- a/svtools/source/dialogs/restartdialog.cxx +++ b/svtools/source/dialogs/restartdialog.cxx @@ -58,12 +58,12 @@ private: }; IMPL_LINK_NOARG(RestartDialog, hdlYes) { - EndDialog(true); + EndDialog(RET_OK); return 0; } IMPL_LINK_NOARG(RestartDialog, hdlNo) { - EndDialog(false); + EndDialog(RET_CANCEL); return 0; } -- cgit v1.2.3