coverity#982457 Explicit null dereferenced
Change-Id: Ia5229858cdb2c6d8088ed6684186e5cfc1fe4213
This commit is contained in:
parent
0fc353a98f
commit
6d28e240f0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user