summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-10 17:07:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-10 17:11:52 +0100
commit99ffbb9dc1c06704f3e259ee9765fbeb408b1629 (patch)
tree4baf96fdc4615be389eca3f25568097a612cab71 /svtools/source
parenta53cb5d7b49c0d4ae298805caea7b0f023612ed2 (diff)
EndDialog takes long nResult, not bool
Change-Id: I04210f48f091a652b7867754484a9c5dd6b19471
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/dialogs/restartdialog.cxx4
1 files changed, 2 insertions, 2 deletions
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;
}