diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-29 21:20:50 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-30 11:43:37 +0100 |
commit | fd223840fe9c6e72965a45f74cf4d046a7891152 (patch) | |
tree | adadb7e095a08a1cbcb8cc72dfd94f1e549d8a71 /sd | |
parent | 04503ecdbeccd6e46dc8f716a996d6d894bc1825 (diff) |
coverity#704742 Dereference after null check
Change-Id: Ieb6d49041d3b540caacfb469291636213a465e62
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/custsdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/custsdlg.cxx b/sd/source/ui/dlg/custsdlg.cxx index cf6ee4af57e2..3b53661302be 100644 --- a/sd/source/ui/dlg/custsdlg.cxx +++ b/sd/source/ui/dlg/custsdlg.cxx @@ -98,7 +98,7 @@ void SdCustomShowDlg::CheckState() m_pCbxUseCustomShow->Enable( bEnable ); m_pBtnStartShow->Enable( true ); - if( bEnable ) + if (bEnable && pCustomShowList) pCustomShowList->Seek( nPos ); } |