From 5eb6bd4db7fb3d43672c386ac9cde58e981c8aa2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 8 May 2015 19:11:38 +0200 Subject: lopluign:staticmethods: Handle DECL_LINK Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969 --- basic/source/classes/sbxmod.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basic') diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 96b6fa4df2b2..4a19ffdbf088 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -471,10 +471,10 @@ public: uno::Reference< frame::XDesktop2 > xDeskTop = frame::Desktop::create( comphelper::getProcessComponentContext() ); xDeskTop->terminate(); } - DECL_LINK( OnAsyncQuit, void* ); + DECL_STATIC_LINK( AsyncQuitHandler, OnAsyncQuit, void* ); }; -IMPL_LINK( AsyncQuitHandler, OnAsyncQuit, void*, /*pNull*/ ) +IMPL_STATIC_LINK_NOINSTANCE_NOARG( AsyncQuitHandler, OnAsyncQuit ) { QuitApplication(); return 0L; -- cgit