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 /sd/source/ui/dlg/headerfooterdlg.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 'sd/source/ui/dlg/headerfooterdlg.cxx')
-rw-r--r-- | sd/source/ui/dlg/headerfooterdlg.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/dlg/headerfooterdlg.cxx b/sd/source/ui/dlg/headerfooterdlg.cxx index e3e11d2305b2..4bdccaed38e0 100644 --- a/sd/source/ui/dlg/headerfooterdlg.cxx +++ b/sd/source/ui/dlg/headerfooterdlg.cxx @@ -295,7 +295,7 @@ IMPL_LINK( HeaderFooterDialog, ActivatePageHdl, TabControl *, pTabCtrl ) // ----------------------------------------------------------------------- -IMPL_LINK( HeaderFooterDialog, DeactivatePageHdl, TabControl *, EMPTYARG ) +IMPL_LINK_NOARG(HeaderFooterDialog, DeactivatePageHdl) { return sal_True; } @@ -559,7 +559,7 @@ HeaderFooterTabPage::~HeaderFooterTabPage() // ----------------------------------------------------------------------- -IMPL_LINK( HeaderFooterTabPage, LanguageChangeHdl, void *, EMPTYARG ) +IMPL_LINK_NOARG(HeaderFooterTabPage, LanguageChangeHdl) { FillFormatList( (int)(sal_IntPtr)maCBDateTimeFormat.GetEntryData( maCBDateTimeFormat.GetSelectEntryPos() ) ); @@ -677,7 +677,7 @@ void HeaderFooterTabPage::update() // ----------------------------------------------------------------------- -IMPL_LINK( HeaderFooterTabPage, UpdateOnClickHdl, void *, EMPTYARG ) +IMPL_LINK_NOARG(HeaderFooterTabPage, UpdateOnClickHdl) { update(); @@ -686,7 +686,7 @@ IMPL_LINK( HeaderFooterTabPage, UpdateOnClickHdl, void *, EMPTYARG ) // ----------------------------------------------------------------------- -IMPL_LINK( HeaderFooterTabPage, ClickApplyToAllHdl, void *, EMPTYARG ) +IMPL_LINK_NOARG(HeaderFooterTabPage, ClickApplyToAllHdl) { mpDialog->ApplyToAll( this ); return 0; @@ -694,7 +694,7 @@ IMPL_LINK( HeaderFooterTabPage, ClickApplyToAllHdl, void *, EMPTYARG ) // ----------------------------------------------------------------------- -IMPL_LINK( HeaderFooterTabPage, ClickApplyHdl, void *, EMPTYARG ) +IMPL_LINK_NOARG(HeaderFooterTabPage, ClickApplyHdl) { mpDialog->Apply( this ); return 0; @@ -702,7 +702,7 @@ IMPL_LINK( HeaderFooterTabPage, ClickApplyHdl, void *, EMPTYARG ) // ----------------------------------------------------------------------- -IMPL_LINK( HeaderFooterTabPage, ClickCancelHdl, void *, EMPTYARG ) +IMPL_LINK_NOARG(HeaderFooterTabPage, ClickCancelHdl) { mpDialog->Cancel( this ); return 0; |