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 /dbaccess/source/ui/control | |
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 'dbaccess/source/ui/control')
-rw-r--r-- | dbaccess/source/ui/control/RelationControl.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/control/TableGrantCtrl.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/control/sqledit.cxx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/ui/control/RelationControl.cxx b/dbaccess/source/ui/control/RelationControl.cxx index 4ba048dd9b3e..2201637f0f43 100644 --- a/dbaccess/source/ui/control/RelationControl.cxx +++ b/dbaccess/source/ui/control/RelationControl.cxx @@ -211,14 +211,14 @@ namespace dbaui } //------------------------------------------------------------------------------ - IMPL_LINK(ORelationControl, AsynchActivate, void*, EMPTYARG) + IMPL_LINK_NOARG(ORelationControl, AsynchActivate) { ActivateCell(); return 0L; } //------------------------------------------------------------------------------ - IMPL_LINK(ORelationControl, AsynchDeactivate, void*, EMPTYARG) + IMPL_LINK_NOARG(ORelationControl, AsynchDeactivate) { DeactivateCell(); return 0L; diff --git a/dbaccess/source/ui/control/TableGrantCtrl.cxx b/dbaccess/source/ui/control/TableGrantCtrl.cxx index ea942b5ef10e..c9589e030702 100644 --- a/dbaccess/source/ui/control/TableGrantCtrl.cxx +++ b/dbaccess/source/ui/control/TableGrantCtrl.cxx @@ -186,7 +186,7 @@ long OTableGrantControl::PreNotify(NotifyEvent& rNEvt) } //------------------------------------------------------------------------------ -IMPL_LINK(OTableGrantControl, AsynchActivate, void*, EMPTYARG) +IMPL_LINK_NOARG(OTableGrantControl, AsynchActivate) { m_nDeactivateEvent = 0; ActivateCell(); @@ -194,7 +194,7 @@ IMPL_LINK(OTableGrantControl, AsynchActivate, void*, EMPTYARG) } //------------------------------------------------------------------------------ -IMPL_LINK(OTableGrantControl, AsynchDeactivate, void*, EMPTYARG) +IMPL_LINK_NOARG(OTableGrantControl, AsynchDeactivate) { m_nDeactivateEvent = 0; DeactivateCell(); diff --git a/dbaccess/source/ui/control/sqledit.cxx b/dbaccess/source/ui/control/sqledit.cxx index afa0e7fb2ed4..765d6a78074b 100644 --- a/dbaccess/source/ui/control/sqledit.cxx +++ b/dbaccess/source/ui/control/sqledit.cxx @@ -179,7 +179,7 @@ void OSqlEdit::GetFocus() } //------------------------------------------------------------------------------ -IMPL_LINK(OSqlEdit, OnUndoActionTimer, void*, EMPTYARG) +IMPL_LINK_NOARG(OSqlEdit, OnUndoActionTimer) { String aText =GetText(); if(aText != m_strOrigText) @@ -200,7 +200,7 @@ IMPL_LINK(OSqlEdit, OnUndoActionTimer, void*, EMPTYARG) return 0L; } //------------------------------------------------------------------------------ -IMPL_LINK(OSqlEdit, OnInvalidateTimer, void*, EMPTYARG) +IMPL_LINK_NOARG(OSqlEdit, OnInvalidateTimer) { OJoinController& rController = m_pView->getContainerWindow()->getDesignView()->getController(); rController.InvalidateFeature(SID_CUT); |