From b0c7d88f650e10f2d3b8e29fad547bcb8198ef08 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 5 Mar 2014 16:54:04 +0000 Subject: coverity#704764 Dereference after null check Change-Id: I93ae20005c3d4dbe0b85a4ae79eba683c7355c88 --- sd/source/ui/slideshow/slideshowimpl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd') 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; } -- cgit