diff options
-rw-r--r-- | extensions/source/plugin/base/xplugin.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/source/plugin/base/xplugin.cxx b/extensions/source/plugin/base/xplugin.cxx index 6b3ea7bc797d..f2e44274db9f 100644 --- a/extensions/source/plugin/base/xplugin.cxx +++ b/extensions/source/plugin/base/xplugin.cxx @@ -540,11 +540,17 @@ void XPlugin_Impl::loadPlugin() sv[0], sv[1] ); + + SAL_WARN_IF( !pComm, "extensions.plugin", "no PluginComm"); + if (!pComm) + return; + #elif defined WNT PluginComm* pComm = new PluginComm_Impl( m_aDescription.Mimetype, m_aDescription.PluginName, (HWND)pEnvData->hWnd ); #endif + setPluginComm( pComm ); } else |