diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 20:34:47 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 20:56:32 +0000 |
commit | ee446f12390220ebcac8700a4fd4a1b5ebfc948d (patch) | |
tree | e937ff9ca875de594e780ae29a2c84dae687aa27 | |
parent | 85344383974a7d45082c44dc679a5dc4fd2355c9 (diff) |
coverity#440744 Dereference after null check
Change-Id: Id9ab2ffde8eb82e49164350d1703e4d93f96663e
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 0ada1315ef65..6bfc27fa9181 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -1005,7 +1005,8 @@ short SfxTabDialog::Ok() if ( pTabPage->FillItemSet( aTmp ) ) { bModified |= sal_True; - pExampleSet->Put( aTmp ); + if (pExampleSet) + pExampleSet->Put( aTmp ); pOutSet->Put( aTmp ); } } |