diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-05 16:54:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-05 20:41:06 +0000 |
commit | b0c7d88f650e10f2d3b8e29fad547bcb8198ef08 (patch) | |
tree | 4afc73e0ce4009ed5e4d2f92607ce0ae80fd14af /sd | |
parent | eef3f4ce5a5d7a653ac84a2716af717030a32fe0 (diff) |
coverity#704764 Dereference after null check
Change-Id: I93ae20005c3d4dbe0b85a4ae79eba683c7355c88
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/slideshow/slideshowimpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index b1c0f6f520dd..a19950e661b2 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -970,7 +970,7 @@ bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings ) } else { - if( pStartPage->GetPageKind() != PK_STANDARD ) + if( !pStartPage || pStartPage->GetPageKind() != PK_STANDARD ) { bStartWithActualSlide = false; } |