summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-07 10:49:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-07 15:47:23 +0100
commitc029a81a794204d41b7ed65a501d6775f7a37c18 (patch)
treee287ee304be90d5da93bbfec47c950d24caf9de5 /xmlsecurity
parenta0f77cbfe2b8b51097af797009705fa79f1fe44e (diff)
coverity#1209500 Explicit null dereferenced
Change-Id: I11aa7ecfa52054085aaca70b165a831b5ec8577b
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/dialogs/macrosecurity.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/dialogs/macrosecurity.cxx b/xmlsecurity/source/dialogs/macrosecurity.cxx
index 3c9eaebe0c6d..7433517230a2 100644
--- a/xmlsecurity/source/dialogs/macrosecurity.cxx
+++ b/xmlsecurity/source/dialogs/macrosecurity.cxx
@@ -138,7 +138,7 @@ MacroSecurityLevelTP::MacroSecurityLevelTP(Window* _pParent, MacroSecurity* _pDl
{
OSL_FAIL("illegal macro security level");
}
- if (bReadonly)
+ if (bReadonly && pImage)
{
pImage->Show(true);
m_pVeryHighRB->Enable(false);