summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-19 16:56:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-19 21:29:44 +0000
commit4dce503b2777e589d713f0fca2604a9a7916813b (patch)
tree539cdaaff9f58f7bdf332d876a6e38ceb3df59b2 /sfx2
parent3f6589a649cf6d411391409c3ed637e6b641ba80 (diff)
coverity#1288895 Explicit null dereferenced
Change-Id: I3b8fe2e1aec18b41b1d4553bca0fa6c52d5cfde6
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/tabdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index cdb6a1baeac7..4cea4514f32d 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -1355,7 +1355,7 @@ void SfxTabDialog::SetInputSet( const SfxItemSet* pInSet )
delete pSet;
pSet = pInSet ? new SfxItemSet(*pInSet) : 0;
- if ( !bSet && !pExampleSet && !pOutSet )
+ if (!bSet && !pExampleSet && !pOutSet && pSet)
{
pExampleSet = new SfxItemSet( *pSet );
pOutSet = new SfxItemSet( *pSet->GetPool(), pSet->GetRanges() );