diff options
Diffstat (limited to 'vcl/source/gdi/print3.cxx')
-rw-r--r-- | vcl/source/gdi/print3.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx index 2b8b8ad0355b..2c8eb81d60a3 100644 --- a/vcl/source/gdi/print3.cxx +++ b/vcl/source/gdi/print3.cxx @@ -269,17 +269,15 @@ struct PrintJobAsync : mxController( i_xController ), maInitSetup( i_rInitSetup ) {} - DECL_LINK( ExecJob, void* ); + DECL_LINK_TYPED( ExecJob, void*, void ); }; -IMPL_LINK_NOARG(PrintJobAsync, ExecJob) +IMPL_LINK_NOARG_TYPED(PrintJobAsync, ExecJob, void*, void) { Printer::ImplPrintJob(mxController, maInitSetup); // clean up, do not access members after this delete this; - - return 0; } void Printer::PrintJob(const std::shared_ptr<PrinterController>& i_xController, |