diff options
Diffstat (limited to 'extensions/source/plugin/base/nfuncs.cxx')
-rw-r--r-- | extensions/source/plugin/base/nfuncs.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/plugin/base/nfuncs.cxx b/extensions/source/plugin/base/nfuncs.cxx index f36e89b24079..f57540abd0ed 100644 --- a/extensions/source/plugin/base/nfuncs.cxx +++ b/extensions/source/plugin/base/nfuncs.cxx @@ -177,11 +177,12 @@ struct AsynchronousGetURL OUString aTarget; Reference< XEventListener > xListener; - DECL_LINK( getURL, XPlugin_Impl* ); + DECL_LINK_TYPED( getURL, void*, void ); }; -IMPL_LINK( AsynchronousGetURL, getURL, XPlugin_Impl*, pImpl ) +IMPL_LINK_TYPED( AsynchronousGetURL, getURL, void*, p, void ) { + XPlugin_Impl* pImpl = static_cast<XPlugin_Impl*>(p); try { pImpl->enterPluginCallback(); @@ -202,7 +203,6 @@ IMPL_LINK( AsynchronousGetURL, getURL, XPlugin_Impl*, pImpl ) } pImpl->leavePluginCallback(); delete this; - return 0; } |