From 3d614a639e8b46f9197cd0d74c306fcfa9bb7e45 Mon Sep 17 00:00:00 2001 From: Noel Grandin <noel@peralex.com> Date: Fri, 21 Aug 2015 09:15:32 +0200 Subject: loplugin: defaultparams Change-Id: If1d183f32079548645b4974a16161dc997c026b7 --- uui/source/authfallbackdlg.cxx | 2 +- uui/source/secmacrowarnings.cxx | 2 +- uui/source/unknownauthdlg.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'uui') diff --git a/uui/source/authfallbackdlg.cxx b/uui/source/authfallbackdlg.cxx index e801c746890c..216d2c32c184 100644 --- a/uui/source/authfallbackdlg.cxx +++ b/uui/source/authfallbackdlg.cxx @@ -55,6 +55,6 @@ IMPL_LINK ( AuthFallbackDlg, OKHdl, Button *, ) IMPL_LINK ( AuthFallbackDlg, CancelHdl, Button *, ) { - EndDialog( RET_CANCEL ); + EndDialog(); return 0; } diff --git a/uui/source/secmacrowarnings.cxx b/uui/source/secmacrowarnings.cxx index 8af1a4ea3ff9..cb661be0d97d 100644 --- a/uui/source/secmacrowarnings.cxx +++ b/uui/source/secmacrowarnings.cxx @@ -154,7 +154,7 @@ IMPL_LINK_NOARG(MacroWarning, EnableBtnHdl) IMPL_LINK_NOARG(MacroWarning, DisableBtnHdl) { - EndDialog( RET_CANCEL ); + EndDialog(); return 0; } diff --git a/uui/source/unknownauthdlg.cxx b/uui/source/unknownauthdlg.cxx index 731882ccc45b..f51606e39c80 100644 --- a/uui/source/unknownauthdlg.cxx +++ b/uui/source/unknownauthdlg.cxx @@ -36,7 +36,7 @@ IMPL_LINK_NOARG(UnknownAuthDialog, OKHdl_Impl) EndDialog( RET_OK ); } else { - EndDialog( RET_CANCEL ); + EndDialog(); } return 1; -- cgit