From bd205223ec029a875c662474bb6d423d3cdd1994 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 1 Mar 2012 18:00:32 +0100 Subject: New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem ...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type" for the problem. --- cui/source/options/optinet2.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cui/source/options/optinet2.cxx') diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx index 9df47726e1ab..24d6a00a6108 100644 --- a/cui/source/options/optinet2.cxx +++ b/cui/source/options/optinet2.cxx @@ -691,7 +691,7 @@ SvxSecurityTabPage::~SvxSecurityTabPage() delete mpSecOptDlg; } -IMPL_LINK( SvxSecurityTabPage, SecurityOptionsHdl, PushButton*, EMPTYARG ) +IMPL_LINK_NOARG(SvxSecurityTabPage, SecurityOptionsHdl) { if ( !mpSecOptDlg ) mpSecOptDlg = new svx::SecurityOptionsDialog( this, mpSecOptions ); @@ -699,7 +699,7 @@ IMPL_LINK( SvxSecurityTabPage, SecurityOptionsHdl, PushButton*, EMPTYARG ) return 0; } -IMPL_LINK( SvxSecurityTabPage, SavePasswordHdl, void*, EMPTYARG ) +IMPL_LINK_NOARG(SvxSecurityTabPage, SavePasswordHdl) { try { @@ -756,7 +756,7 @@ IMPL_LINK( SvxSecurityTabPage, SavePasswordHdl, void*, EMPTYARG ) return 0; } -IMPL_LINK( SvxSecurityTabPage, MasterPasswordHdl, PushButton*, EMPTYARG ) +IMPL_LINK_NOARG(SvxSecurityTabPage, MasterPasswordHdl) { try { @@ -774,7 +774,7 @@ IMPL_LINK( SvxSecurityTabPage, MasterPasswordHdl, PushButton*, EMPTYARG ) return 0; } -IMPL_LINK( SvxSecurityTabPage, MasterPasswordCBHdl, void*, EMPTYARG ) +IMPL_LINK_NOARG(SvxSecurityTabPage, MasterPasswordCBHdl) { try { @@ -820,7 +820,7 @@ IMPL_LINK( SvxSecurityTabPage, MasterPasswordCBHdl, void*, EMPTYARG ) return 0; } -IMPL_LINK( SvxSecurityTabPage, ShowPasswordsHdl, PushButton*, EMPTYARG ) +IMPL_LINK_NOARG(SvxSecurityTabPage, ShowPasswordsHdl) { try { @@ -840,7 +840,7 @@ IMPL_LINK( SvxSecurityTabPage, ShowPasswordsHdl, PushButton*, EMPTYARG ) return 0; } -IMPL_LINK( SvxSecurityTabPage, MacroSecPBHdl, void*, EMPTYARG ) +IMPL_LINK_NOARG(SvxSecurityTabPage, MacroSecPBHdl) { try { -- cgit