summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/dlgname.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-03-01 18:00:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-03-01 18:00:32 +0100
commitbd205223ec029a875c662474bb6d423d3cdd1994 (patch)
tree6531a292edb0d2a13103a4c55cbd10e7137b8a58 /cui/source/dialogs/dlgname.cxx
parent32781c2d268ed94eb46318a0398385baf31368c4 (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 'cui/source/dialogs/dlgname.cxx')
-rw-r--r--cui/source/dialogs/dlgname.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/cui/source/dialogs/dlgname.cxx b/cui/source/dialogs/dlgname.cxx
index ae0beaa3623d..7239b4a8d695 100644
--- a/cui/source/dialogs/dlgname.cxx
+++ b/cui/source/dialogs/dlgname.cxx
@@ -75,7 +75,7 @@ SvxNameDialog::SvxNameDialog( Window* pWindow, const String& rName, const String
}
}
-IMPL_LINK(SvxNameDialog, ModifyHdl, Edit*, EMPTYARG)
+IMPL_LINK_NOARG(SvxNameDialog, ModifyHdl)
{
if(aCheckNameHdl.IsSet())
aBtnOK.Enable(aCheckNameHdl.Call(this) > 0);
@@ -109,7 +109,7 @@ SvxObjectNameDialog::SvxObjectNameDialog(
aEdtName.SetModifyHdl(LINK(this, SvxObjectNameDialog, ModifyHdl));
}
-IMPL_LINK(SvxObjectNameDialog, ModifyHdl, Edit*, EMPTYARG)
+IMPL_LINK_NOARG(SvxObjectNameDialog, ModifyHdl)
{
if(aCheckNameHdl.IsSet())
{
@@ -190,21 +190,21 @@ SvxMessDialog::~SvxMessDialog()
/*************************************************************************/
-IMPL_LINK_INLINE_START( SvxMessDialog, Button1Hdl, Button *, EMPTYARG )
+IMPL_LINK_NOARG_INLINE_START(SvxMessDialog, Button1Hdl)
{
EndDialog( RET_BTN_1 );
return 0;
}
-IMPL_LINK_INLINE_END( SvxMessDialog, Button1Hdl, Button *, EMPTYARG )
+IMPL_LINK_NOARG_INLINE_END(SvxMessDialog, Button1Hdl)
/*************************************************************************/
-IMPL_LINK_INLINE_START( SvxMessDialog, Button2Hdl, Button *, EMPTYARG )
+IMPL_LINK_NOARG_INLINE_START(SvxMessDialog, Button2Hdl)
{
EndDialog( RET_BTN_2 );
return 0;
}
-IMPL_LINK_INLINE_END( SvxMessDialog, Button2Hdl, Button *, EMPTYARG )
+IMPL_LINK_NOARG_INLINE_END(SvxMessDialog, Button2Hdl)
/*************************************************************************/