diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-24 10:07:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-24 12:12:26 +0000 |
commit | 97f828bd6ba0fffd2b615cc7dad3ef40b03f8ef1 (patch) | |
tree | 8f149391979e9a081a4dd25dc8aef43898e6c748 /sw | |
parent | dc5205f6684f77b319204628ed8bffcffdc9802d (diff) |
coverity#705027 Dereference after null check
Change-Id: I6c0b44c128da65136a73abd904f071e37ac5d87f
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/uibase/shells/tabsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/uibase/shells/tabsh.cxx b/sw/source/core/uibase/shells/tabsh.cxx index 7f47c8090419..319f75f3794f 100644 --- a/sw/source/core/uibase/shells/tabsh.cxx +++ b/sw/source/core/uibase/shells/tabsh.cxx @@ -578,7 +578,7 @@ void SwTableShell::Execute(SfxRequest &rReq) else aCoreSet.InvalidateItem( RES_BACKGROUND ); - if ( (!pDlg && rReq.GetArgs()) || pDlg->Execute() == RET_OK ) + if ( (!pDlg && rReq.GetArgs()) || (pDlg && pDlg->Execute() == RET_OK) ) { const SfxItemSet* pOutSet = pDlg ? pDlg->GetOutputItemSet() : rReq.GetArgs(); if ( pDlg ) |