summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-05 16:52:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-05 20:41:06 +0000
commiteef3f4ce5a5d7a653ac84a2716af717030a32fe0 (patch)
tree3d89e35d258bd81921237d17185a83792713dc59 /sd
parent6509003628d635fb93cbcdef0365dc11801d125e (diff)
coverity#704763 Dereference after null check
Change-Id: I7d78ef1ffc939602baf9a16c4ca18b8f5f4c4d48
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index 4c1273f79058..b1c0f6f520dd 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -741,7 +741,8 @@ void SAL_CALL SlideshowImpl::disposing()
Size aVisSizePixel = pActWin->GetOutputSizePixel();
Rectangle aVisAreaWin = pActWin->PixelToLogic( Rectangle( Point(0,0), aVisSizePixel) );
mpViewShell->VisAreaChanged(aVisAreaWin);
- mpView->VisAreaChanged(pActWin);
+ if (mpView)
+ mpView->VisAreaChanged(pActWin);
pActWin->GrabFocus();
}
}