diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-09 15:52:39 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-10 08:30:11 +0200 |
commit | 9ea0390f17d5183471a27cf7666b45abf3f1e8a0 (patch) | |
tree | e66e718581f670b37aefdc0c5376ac7cf785d878 /test/source/vclbootstrapprotector.cxx | |
parent | 71d8cfc13a7269230fc39c895c5a24350ab07357 (diff) |
convert Link<> to typed
Change-Id: Iaca21344f6a38f508f79e6d5983e515162a6dca3
Diffstat (limited to 'test/source/vclbootstrapprotector.cxx')
-rw-r--r-- | test/source/vclbootstrapprotector.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/source/vclbootstrapprotector.cxx b/test/source/vclbootstrapprotector.cxx index 2aad56303df6..f0c4e92c8e93 100644 --- a/test/source/vclbootstrapprotector.cxx +++ b/test/source/vclbootstrapprotector.cxx @@ -56,14 +56,15 @@ private: SAL_OVERRIDE { return functor(); } - DECL_STATIC_LINK(Protector, deinitHook, void *); + DECL_STATIC_LINK_TYPED(Protector, deinitHook, LinkParamNone*, void); }; // HACK so that defaultBootstrap_InitialComponentContext (in // unobootstrapprotector) is called before InitVCL (above), but component // context is disposed (redundantly again in unobootstrapprotector) from within // DeInitVCL (cf. Desktop::DeInit, desktop/source/app/app.cxx): -IMPL_STATIC_LINK_NOARG(Protector, deinitHook) { +IMPL_STATIC_LINK_NOARG_TYPED(Protector, deinitHook, LinkParamNone*, void) +{ css::uno::Reference<css::uno::XComponentContext> context; try { context = comphelper::getProcessComponentContext(); @@ -82,7 +83,6 @@ IMPL_STATIC_LINK_NOARG(Protector, deinitHook) { context, css::uno::UNO_QUERY_THROW)->dispose(); comphelper::setProcessServiceFactory(0); } - return 0; } } |