ImplSVEvent::mpLink is never null
...at least since f74efe63d9
"callcatcher: remove
newly unused code."
Change-Id: I2d988525e0b82c87b2bae1f669333d0849dbee49
This commit is contained in:
@@ -1876,17 +1876,11 @@ static void ImplHandleUserEvent( ImplSVEvent* pSVEvent )
|
||||
if ( pSVEvent->mpWindow )
|
||||
{
|
||||
pSVEvent->mpWindow->ImplRemoveDel( &(pSVEvent->maDelData) );
|
||||
if ( pSVEvent->mpLink )
|
||||
pSVEvent->mpLink->Call( pSVEvent->mpData );
|
||||
else
|
||||
pSVEvent->mpWindow->UserEvent( 0, pSVEvent->mpData );
|
||||
pSVEvent->mpLink->Call( pSVEvent->mpData );
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( pSVEvent->mpLink )
|
||||
pSVEvent->mpLink->Call( pSVEvent->mpData );
|
||||
else
|
||||
GetpApp()->UserEvent( 0, pSVEvent->mpData );
|
||||
pSVEvent->mpLink->Call( pSVEvent->mpData );
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user