From bd205223ec029a875c662474bb6d423d3cdd1994 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 1 Mar 2012 18:00:32 +0100 Subject: New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem ...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type" for the problem. --- forms/source/component/Button.cxx | 2 +- forms/source/component/DatabaseForm.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'forms') diff --git a/forms/source/component/Button.cxx b/forms/source/component/Button.cxx index c69772142325..0ae1f87ff53c 100644 --- a/forms/source/component/Button.cxx +++ b/forms/source/component/Button.cxx @@ -446,7 +446,7 @@ void OButtonControl::actionPerformed(const ActionEvent& /*rEvent*/) throw ( ::co } //------------------------------------------------------------------------------ -IMPL_LINK( OButtonControl, OnClick, void*, EMPTYARG ) +IMPL_LINK_NOARG(OButtonControl, OnClick) { ::osl::ClearableMutexGuard aGuard( m_aMutex ); m_nClickEvent = 0; diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index 559a29e7c70e..7a6e75881fee 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -2672,7 +2672,7 @@ void SAL_CALL ODatabaseForm::reloaded(const EventObject& /*aEvent*/) throw( Runt } //------------------------------------------------------------------------------ -IMPL_LINK( ODatabaseForm, OnTimeout, void*, EMPTYARG ) +IMPL_LINK_NOARG(ODatabaseForm, OnTimeout) { reload_impl(sal_True); return 1; -- cgit