summaryrefslogtreecommitdiff
path: root/sc/source/ui/pagedlg
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 /sc/source/ui/pagedlg
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 'sc/source/ui/pagedlg')
-rw-r--r--sc/source/ui/pagedlg/tphf.cxx6
-rw-r--r--sc/source/ui/pagedlg/tphfedit.cxx2
-rw-r--r--sc/source/ui/pagedlg/tptable.cxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/pagedlg/tphf.cxx b/sc/source/ui/pagedlg/tphf.cxx
index 72fbfc28ebd7..cb0b575bda46 100644
--- a/sc/source/ui/pagedlg/tphf.cxx
+++ b/sc/source/ui/pagedlg/tphf.cxx
@@ -180,7 +180,7 @@ void ScHFPage::DeactivatePage()
// Handler:
//------------------------------------------------------------------
-IMPL_LINK( ScHFPage, TurnOnHdl, CheckBox*, EMPTYARG )
+IMPL_LINK_NOARG(ScHFPage, TurnOnHdl)
{
SvxHFPage::TurnOnHdl( &aTurnOnBox );
@@ -195,7 +195,7 @@ IMPL_LINK( ScHFPage, TurnOnHdl, CheckBox*, EMPTYARG )
//------------------------------------------------------------------
-IMPL_LINK( ScHFPage, BtnHdl, PushButton*, EMPTYARG )
+IMPL_LINK_NOARG(ScHFPage, BtnHdl)
{
// Wenn der Bearbeiten-Dialog direkt aus dem Click-Handler des Buttons
// aufgerufen wird, funktioniert im Bearbeiten-Dialog unter OS/2 das
@@ -206,7 +206,7 @@ IMPL_LINK( ScHFPage, BtnHdl, PushButton*, EMPTYARG )
return 0;
}
-IMPL_LINK( ScHFPage, HFEditHdl, void*, EMPTYARG )
+IMPL_LINK_NOARG(ScHFPage, HFEditHdl)
{
SfxViewShell* pViewSh = SfxViewShell::Current();
diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx
index 0d6211ac9da5..eb8ea2b625bc 100644
--- a/sc/source/ui/pagedlg/tphfedit.cxx
+++ b/sc/source/ui/pagedlg/tphfedit.cxx
@@ -429,7 +429,7 @@ long ScExtIButton::PreNotify( NotifyEvent& rNEvt )
return ImageButton::PreNotify(rNEvt );
}
-IMPL_LINK( ScExtIButton, TimerHdl, Timer*, EMPTYARG )
+IMPL_LINK_NOARG(ScExtIButton, TimerHdl)
{
StartPopup();
return 0;
diff --git a/sc/source/ui/pagedlg/tptable.cxx b/sc/source/ui/pagedlg/tptable.cxx
index 88d34347ed64..4c6a29b97eb0 100644
--- a/sc/source/ui/pagedlg/tptable.cxx
+++ b/sc/source/ui/pagedlg/tptable.cxx
@@ -422,7 +422,7 @@ void ScTablePage::DataChanged( const DataChangedEvent& rDCEvt )
// Handler:
//------------------------------------------------------------------------
-IMPL_LINK( ScTablePage, PageDirHdl, RadioButton*, EMPTYARG )
+IMPL_LINK_NOARG(ScTablePage, PageDirHdl)
{
ShowImage();
return 0;
@@ -446,7 +446,7 @@ IMPL_LINK( ScTablePage, PageNoHdl, CheckBox*, pBtn )
//------------------------------------------------------------------------
-IMPL_LINK( ScTablePage, ScaleHdl, ListBox*, EMPTYARG )
+IMPL_LINK_NOARG(ScTablePage, ScaleHdl)
{
// controls for "Reduce/enlarge"
bool bPercent = (aLbScaleMode.GetSelectEntryPos() == SC_TPTABLE_SCALE_PERCENT);