diff options
Diffstat (limited to 'svtools/source/dialogs/restartdialog.cxx')
-rw-r--r-- | svtools/source/dialogs/restartdialog.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svtools/source/dialogs/restartdialog.cxx b/svtools/source/dialogs/restartdialog.cxx index 1fa2de2c6c73..3deeb8b0995a 100644 --- a/svtools/source/dialogs/restartdialog.cxx +++ b/svtools/source/dialogs/restartdialog.cxx @@ -59,22 +59,22 @@ public: ModalDialog::dispose(); } private: - DECL_LINK(hdlYes, void *); - DECL_LINK(hdlNo, void *); + DECL_LINK_TYPED(hdlYes, Button*, void); + DECL_LINK_TYPED(hdlNo, Button*, void); VclPtr<vcl::Window> reason_; VclPtr<PushButton> btnYes_; VclPtr<PushButton> btnNo_; }; -IMPL_LINK_NOARG(RestartDialog, hdlYes) { +IMPL_LINK_NOARG_TYPED(RestartDialog, hdlYes, Button*, void) +{ EndDialog(RET_OK); - return 0; } -IMPL_LINK_NOARG(RestartDialog, hdlNo) { +IMPL_LINK_NOARG_TYPED(RestartDialog, hdlNo, Button*, void) +{ EndDialog(); - return 0; } } |