diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-05 16:49:56 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-05 20:41:05 +0000 |
commit | 76fe205d7e0fe0a73616453209d8094cab9ce79f (patch) | |
tree | c2db37df4db13e1a3c2b069a075bfae444a58e40 /sd | |
parent | a96c4e3b1456d0f11fcd3e3374b0d457374e207b (diff) |
coverity#704761 Dereference after null check
Change-Id: I8e65332f202158e503da9b707bb9d6305133e68e
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/slideshow/showwin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/slideshow/showwin.cxx b/sd/source/ui/slideshow/showwin.cxx index aa4ae8760461..9d9f35c879d6 100644 --- a/sd/source/ui/slideshow/showwin.cxx +++ b/sd/source/ui/slideshow/showwin.cxx @@ -481,7 +481,8 @@ void ShowWindow::RestartShow( sal_Int32 nPageIndexToRestart ) // show navigator? if( mbShowNavigatorAfterSpecialMode ) { - mpViewShell->GetViewFrame()->ShowChildWindow( SID_NAVIGATOR, sal_True ); + if (mpViewShell) + mpViewShell->GetViewFrame()->ShowChildWindow( SID_NAVIGATOR, sal_True ); mbShowNavigatorAfterSpecialMode = false; } } |