Kaydet (Commit) 65090036 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#704762 Dereference after null check

Change-Id: I28555dcf30eb3a6f71b3808025771294a088aaa8
üst 76fe205d
...@@ -673,7 +673,8 @@ void SAL_CALL SlideshowImpl::disposing() ...@@ -673,7 +673,8 @@ void SAL_CALL SlideshowImpl::disposing()
if( mpViewShell ) if( mpViewShell )
{ {
mpViewShell->SetActiveWindow(mpOldActiveWindow); mpViewShell->SetActiveWindow(mpOldActiveWindow);
mpShowWindow->SetViewShell( NULL ); if (mpShowWindow)
mpShowWindow->SetViewShell( NULL );
} }
if( mpView ) if( mpView )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment