summaryrefslogtreecommitdiff
path: root/sd/source/ui/slideshow
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-05 16:54:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-05 20:41:06 +0000
commitb0c7d88f650e10f2d3b8e29fad547bcb8198ef08 (patch)
tree4afc73e0ce4009ed5e4d2f92607ce0ae80fd14af /sd/source/ui/slideshow
parenteef3f4ce5a5d7a653ac84a2716af717030a32fe0 (diff)
coverity#704764 Dereference after null check
Change-Id: I93ae20005c3d4dbe0b85a4ae79eba683c7355c88
Diffstat (limited to 'sd/source/ui/slideshow')
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx2
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;
}