diff options
-rw-r--r-- | sd/source/ui/slideshow/slideshowimpl.cxx | 3 |
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(); } } |