ImplSVEvent::mpLink is never null

...at least since f74efe63d9 "callcatcher: remove
newly unused code."

Change-Id: I2d988525e0b82c87b2bae1f669333d0849dbee49
This commit is contained in:
Stephan Bergmann
2014-05-06 12:46:25 +02:00
parent c0d037a6ec
commit a7e18f0a16

View File

@@ -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 );
}
}