diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-28 09:40:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-28 11:29:20 +0000 |
commit | 4d92cbf70c19485f73ddb42795fd768bc56385b9 (patch) | |
tree | 43d77343582dc57215c8c8b23275f7931b5a991a /sfx2/source | |
parent | 7b52b96a6f742952d7b4c57a60aee494a2e25cde (diff) |
coverity#440971 Dereference before null check
Change-Id: I2bd6c0cffef5bf2e2d05781d4ec151f11d517cb6
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/dialog/templdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx index 2a971592ea2c..46f32380debf 100644 --- a/sfx2/source/dialog/templdlg.cxx +++ b/sfx2/source/dialog/templdlg.cxx @@ -2083,7 +2083,7 @@ void SfxCommonTemplateDialog_Impl::NewHdl(void *) const SfxStyleFamilyItem *pItem = GetFamilyItem_Impl(); const SfxStyleFamily eFam=pItem->GetFamily(); sal_uInt16 nMask; - if( pItem && nActFilter != SFXSTYLEBIT_ALL ) + if( nActFilter != SFXSTYLEBIT_ALL ) { nMask = pItem->GetFilterList()[ nActFilter ]->nFlags; if(!nMask) // automatic |