coverity#705963 Dereference before null check
Change-Id: I6371ef5e838d1e66ea9aeba75f554eea93426139
This commit is contained in:
@@ -275,8 +275,6 @@ void UnoWrapper::WindowDestroyed( Window* pWindow )
|
||||
// #i42462#/#116855# no, don't loop: Instead, just ensure that all our top-window-children
|
||||
// are disposed, too (which should also be a valid fix for #102132#, but doesn't have the extreme
|
||||
// performance penalties)
|
||||
if ( pWindow )
|
||||
{
|
||||
Window* pTopWindowChild = pWindow->GetWindow( WINDOW_FIRSTTOPWINDOWCHILD );
|
||||
while ( pTopWindowChild )
|
||||
{
|
||||
@@ -293,7 +291,6 @@ void UnoWrapper::WindowDestroyed( Window* pWindow )
|
||||
pTopWindowChild = pNextTopChild;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > UnoWrapper::CreateAccessible( Menu* pMenu, sal_Bool bIsMenuBar )
|
||||
|
Reference in New Issue
Block a user