diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-03-01 18:00:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-03-01 18:00:32 +0100 |
commit | bd205223ec029a875c662474bb6d423d3cdd1994 (patch) | |
tree | 6531a292edb0d2a13103a4c55cbd10e7137b8a58 /uui/source/logindlg.cxx | |
parent | 32781c2d268ed94eb46318a0398385baf31368c4 (diff) |
New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
Diffstat (limited to 'uui/source/logindlg.cxx')
-rw-r--r-- | uui/source/logindlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uui/source/logindlg.cxx b/uui/source/logindlg.cxx index a90cd35efa85..78a29c86078e 100644 --- a/uui/source/logindlg.cxx +++ b/uui/source/logindlg.cxx @@ -211,7 +211,7 @@ void LoginDialog::EnableUseSysCredsControls_Impl( sal_Bool bUseSysCredsEnabled ) // ----------------------------------------------------------------------- -IMPL_LINK( LoginDialog, OKHdl_Impl, OKButton *, EMPTYARG ) +IMPL_LINK_NOARG(LoginDialog, OKHdl_Impl) { // trim the strings aNameED.SetText( aNameED.GetText().EraseLeadingChars(). @@ -224,7 +224,7 @@ IMPL_LINK( LoginDialog, OKHdl_Impl, OKButton *, EMPTYARG ) // ----------------------------------------------------------------------- -IMPL_LINK( LoginDialog, PathHdl_Impl, PushButton *, EMPTYARG ) +IMPL_LINK_NOARG(LoginDialog, PathHdl_Impl) { PathDialog* pDlg = new PathDialog( this, WB_3DLOOK ); pDlg->SetPath( aPathED.GetText() ); @@ -238,7 +238,7 @@ IMPL_LINK( LoginDialog, PathHdl_Impl, PushButton *, EMPTYARG ) // ----------------------------------------------------------------------- -IMPL_LINK( LoginDialog, UseSysCredsHdl_Impl, CheckBox *, EMPTYARG ) +IMPL_LINK_NOARG(LoginDialog, UseSysCredsHdl_Impl) { EnableUseSysCredsControls_Impl( aUseSysCredsCB.IsChecked() ); return 1; |