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 --- vcl/generic/print/genprnpsp.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'vcl/generic') diff --git a/vcl/generic/print/genprnpsp.cxx b/vcl/generic/print/genprnpsp.cxx index c0d5751495ef..8bccc3d83ae5 100644 --- a/vcl/generic/print/genprnpsp.cxx +++ b/vcl/generic/print/genprnpsp.cxx @@ -1287,7 +1287,7 @@ class PrinterUpdate static int nActiveJobs; static void doUpdate(); - DECL_STATIC_LINK( PrinterUpdate, UpdateTimerHdl, void* ); + DECL_STATIC_LINK_TYPED( PrinterUpdate, UpdateTimerHdl, Idle*, void ); public: static void update(SalGenericInstance &rInstance); static void jobStarted() { nActiveJobs++; } @@ -1305,7 +1305,7 @@ void PrinterUpdate::doUpdate() pInst->PostPrintersChanged(); } -IMPL_STATIC_LINK_NOINSTANCE( PrinterUpdate, UpdateTimerHdl, void*, EMPTYARG ) +IMPL_STATIC_LINK_NOINSTANCE_NOARG_TYPED( PrinterUpdate, UpdateTimerHdl, Idle*, void ) { if( nActiveJobs < 1 ) { @@ -1315,8 +1315,6 @@ IMPL_STATIC_LINK_NOINSTANCE( PrinterUpdate, UpdateTimerHdl, void*, EMPTYARG ) } else pPrinterUpdateIdle->Start(); - - return 0; } void PrinterUpdate::update(SalGenericInstance &rInstance) -- cgit