coverity#1209500 Explicit null dereferenced

Change-Id: I11aa7ecfa52054085aaca70b165a831b5ec8577b
This commit is contained in:
Caolán McNamara
2014-05-07 10:49:17 +01:00
parent a0f77cbfe2
commit c029a81a79

View File

@@ -138,7 +138,7 @@ MacroSecurityLevelTP::MacroSecurityLevelTP(Window* _pParent, MacroSecurity* _pDl
{ {
OSL_FAIL("illegal macro security level"); OSL_FAIL("illegal macro security level");
} }
if (bReadonly) if (bReadonly && pImage)
{ {
pImage->Show(true); pImage->Show(true);
m_pVeryHighRB->Enable(false); m_pVeryHighRB->Enable(false);