summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-08 19:11:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-08 19:15:32 +0200
commit5eb6bd4db7fb3d43672c386ac9cde58e981c8aa2 (patch)
treedadf670246d763449c3bacef4acfdd2c6251d198 /basic
parente6fa865b4d5c7eb0576f7b1510077bca081ce4fb (diff)
lopluign:staticmethods: Handle DECL_LINK
Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbxmod.cxx4
1 files changed, 2 insertions, 2 deletions
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;