From c9b4c5681194a1cd3297a36d4a1f4e4cc3aac55a Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 5 May 2015 09:59:27 +0200 Subject: Use typed Idle::SetIdleHdl Link Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9 --- sc/source/ui/docshell/autostyl.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sc/source/ui/docshell/autostyl.cxx') diff --git a/sc/source/ui/docshell/autostyl.cxx b/sc/source/ui/docshell/autostyl.cxx index 37f139347c41..ed81680c54f2 100644 --- a/sc/source/ui/docshell/autostyl.cxx +++ b/sc/source/ui/docshell/autostyl.cxx @@ -100,7 +100,7 @@ void ScAutoStyleList::AddInitial( const ScRange& rRange, const OUString& rStyle1 aInitIdle.Start(); } -IMPL_LINK_NOARG(ScAutoStyleList, InitHdl) +IMPL_LINK_NOARG_TYPED(ScAutoStyleList, InitHdl, Idle *, void) { boost::ptr_vector::iterator iter; for (iter = aInitials.begin(); iter != aInitials.end(); ++iter) @@ -114,8 +114,6 @@ IMPL_LINK_NOARG(ScAutoStyleList, InitHdl) } aInitials.clear(); - - return 0; } void ScAutoStyleList::AddEntry( sal_uLong nTimeout, const ScRange& rRange, const OUString& rStyle ) -- cgit