summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-19 15:09:53 +0200
committerNoel Grandin <noel@peralex.com>2014-02-20 09:31:13 +0200
commitbce04e519356a445489acd016c1c65a66d2f5fa6 (patch)
tree77a483cdd3928dc6bd81a681e3e98a1e07ca40d5 /sd
parentcid#1078825 Dereference before null check (diff)
downloadcore-bce04e519356a445489acd016c1c65a66d2f5fa6.tar.gz
core-bce04e519356a445489acd016c1c65a66d2f5fa6.zip
cid#1078827 Dereference before null check
Change-Id: Id35992113a8e8f2d06bda7f2287227afeec62313
Diffstat (limited to 'sd')
-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 54c4c0204bde..357194234c59 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -916,7 +916,7 @@ bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings )
// ---
OUString aPresSlide( maPresSettings.maPresPage );
- SdPage* pStartPage = mpViewShell ? mpViewShell->GetActualPage() : 0;
+ SdPage* pStartPage = mpViewShell->GetActualPage();
bool bStartWithActualSlide = pStartPage;
// times should be measured?