diff options
Diffstat (limited to 'extensions/source/plugin/unx')
-rw-r--r-- | extensions/source/plugin/unx/npnapi.cxx | 3 | ||||
-rw-r--r-- | extensions/source/plugin/unx/nppapi.cxx | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/extensions/source/plugin/unx/npnapi.cxx b/extensions/source/plugin/unx/npnapi.cxx index 1129fc8ea3b9..5330c823bb04 100644 --- a/extensions/source/plugin/unx/npnapi.cxx +++ b/extensions/source/plugin/unx/npnapi.cxx @@ -520,7 +520,7 @@ PluginConnector::~PluginConnector() { } -IMPL_LINK( PluginConnector, WorkOnNewMessageHdl, Mediator*, /*pMediator*/ ) +IMPL_LINK_NOARG_TYPED( PluginConnector, WorkOnNewMessageHdl, void*, void ) { MediatorMessage* pMessage; CommandAtoms nCommand; @@ -928,7 +928,6 @@ IMPL_LINK( PluginConnector, WorkOnNewMessageHdl, Mediator*, /*pMediator*/ ) } delete pMessage; } - return 0; } void LoadAdditionalLibs( const char* _pPluginLib ) diff --git a/extensions/source/plugin/unx/nppapi.cxx b/extensions/source/plugin/unx/nppapi.cxx index e55b14b3d35c..e89ded2a74ca 100644 --- a/extensions/source/plugin/unx/nppapi.cxx +++ b/extensions/source/plugin/unx/nppapi.cxx @@ -80,7 +80,7 @@ IMPL_LINK( PluginConnector, NewMessageHdl, Mediator*, /*pMediator*/ ) return 0; } -IMPL_LINK( PluginConnector, WorkOnNewMessageHdl, Mediator*, /*pMediator*/ ) +IMPL_LINK_NOARG_TYPED( PluginConnector, WorkOnNewMessageHdl, void*, void ) { bool bFound = false; for( std::vector< PluginConnector* >::iterator it = allConnectors.begin(); @@ -90,7 +90,7 @@ IMPL_LINK( PluginConnector, WorkOnNewMessageHdl, Mediator*, /*pMediator*/ ) bFound = true; } if( ! bFound ) - return 0; + return; MediatorMessage* pMessage; CommandAtoms nCommand; @@ -323,7 +323,6 @@ IMPL_LINK( PluginConnector, WorkOnNewMessageHdl, Mediator*, /*pMediator*/ ) delete pMessage; } - return 0; } #define GET_INSTANCE() \ |