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. --- sd/source/ui/framework/configuration/ConfigurationUpdater.cxx | 2 +- sd/source/ui/framework/configuration/ConfigurationUpdater.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sd/source/ui/framework/configuration') diff --git a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx index 880aafd7903e..a691b77a7665 100644 --- a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx @@ -448,7 +448,7 @@ void ConfigurationUpdater::SetUpdateBeingProcessed (bool bValue) -IMPL_LINK(ConfigurationUpdater, TimeoutHandler, Timer*, EMPTYARG) +IMPL_LINK_NOARG(ConfigurationUpdater, TimeoutHandler) { OSL_TRACE("configuration update timer"); if ( ! mbUpdateBeingProcessed diff --git a/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx index 64ff5380ca7a..0f6b6f4c689c 100644 --- a/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx +++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx @@ -208,7 +208,7 @@ private: */ void UnlockUpdates (void); - DECL_LINK(TimeoutHandler, Timer*); + DECL_LINK(TimeoutHandler, void *); }; } } // end of namespace sd::framework -- cgit