diff options
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 2 |
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() ); |