From bd383c3f74a31366b139044ad21b48cc671e2213 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 22 Jan 2016 20:53:47 +0100 Subject: Dialog's ImplAsyncCloseHdl is IMPL_LINK_NOARG_TYPED ...so no need to pass it an actual argument Change-Id: Idd349aec9a93bf9097f4a2f868d5e4cc9eb0aaed --- vcl/source/window/dialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/source') diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index 1849b728ab42..d06ca8713885 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -649,7 +649,7 @@ bool Dialog::Notify( NotifyEvent& rNEvt ) // like e.g. SfxModelessDialog which destroy themselves inside Close() // post this Close asynchronous so we can leave our key handler before // we get destroyed - PostUserEvent( LINK( this, Dialog, ImplAsyncCloseHdl ), this, true); + PostUserEvent( LINK( this, Dialog, ImplAsyncCloseHdl ), nullptr, true); return true; } } -- cgit