coverity#982457 Explicit null dereferenced
Change-Id: Ia5229858cdb2c6d8088ed6684186e5cfc1fe4213
This commit is contained in:
@@ -540,11 +540,17 @@ void XPlugin_Impl::loadPlugin()
|
|||||||
sv[0],
|
sv[0],
|
||||||
sv[1]
|
sv[1]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
SAL_WARN_IF( !pComm, "extensions.plugin", "no PluginComm");
|
||||||
|
if (!pComm)
|
||||||
|
return;
|
||||||
|
|
||||||
#elif defined WNT
|
#elif defined WNT
|
||||||
PluginComm* pComm = new PluginComm_Impl( m_aDescription.Mimetype,
|
PluginComm* pComm = new PluginComm_Impl( m_aDescription.Mimetype,
|
||||||
m_aDescription.PluginName,
|
m_aDescription.PluginName,
|
||||||
(HWND)pEnvData->hWnd );
|
(HWND)pEnvData->hWnd );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
setPluginComm( pComm );
|
setPluginComm( pComm );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user