summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/brkdlg.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 /sd/source/ui/dlg/brkdlg.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 'sd/source/ui/dlg/brkdlg.cxx')
-rw-r--r--sd/source/ui/dlg/brkdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/brkdlg.cxx b/sd/source/ui/dlg/brkdlg.cxx
index 77ff5bb711e8..f7a19688f972 100644
--- a/sd/source/ui/dlg/brkdlg.cxx
+++ b/sd/source/ui/dlg/brkdlg.cxx
@@ -96,7 +96,7 @@ BreakDlg::~BreakDlg()
}
// Control-Handler fuer den Abbruch Button
-IMPL_LINK( BreakDlg, CancelButtonHdl, void *, EMPTYARG )
+IMPL_LINK_NOARG(BreakDlg, CancelButtonHdl)
{
bCancel = sal_True;
aBtnCancel.Disable();
@@ -176,7 +176,7 @@ short BreakDlg::Execute()
}
// Linkmethode welche die Arbeitsfunktion startet
-IMPL_LINK( BreakDlg, InitialUpdate, Timer*, EMPTYARG )
+IMPL_LINK_NOARG(BreakDlg, InitialUpdate)
{
pDrView->DoImportMarkedMtf(pProgrInfo);
EndDialog(sal_True);