tdf#96888 Kill internal vcl dog-tags ...
Did a small change to static bool ImplCallCommand( vcl::Window* pChild, ...) in winproc.cxx file. Patch No. 7 Change-Id: Ib2929ff2fe98487461f2d8ec768fab8d4cd45c22 Reviewed-on: https://gerrit.libreoffice.org/21221 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
This commit is contained in:
committed by
Michael Meeks
parent
6ac256da90
commit
accc12efd1
@@ -216,19 +216,19 @@ static bool ImplCallCommand( vcl::Window* pChild, CommandEventId nEvt, void* pDa
|
||||
|
||||
CommandEvent aCEvt( aPos, nEvt, bMouse, pData );
|
||||
NotifyEvent aNCmdEvt( MouseNotifyEvent::COMMAND, pChild, &aCEvt );
|
||||
ImplDelData aDelData( pChild );
|
||||
VclPtr<vcl::Window> xWindow = pChild;
|
||||
bool bPreNotify = ImplCallPreNotify( aNCmdEvt );
|
||||
if ( aDelData.IsDead() )
|
||||
if ( xWindow->IsDisposed() )
|
||||
return false;
|
||||
if ( !bPreNotify )
|
||||
{
|
||||
pChild->ImplGetWindowImpl()->mbCommand = false;
|
||||
pChild->Command( aCEvt );
|
||||
|
||||
if( aDelData.IsDead() )
|
||||
if( xWindow->IsDisposed() )
|
||||
return false;
|
||||
pChild->ImplNotifyKeyMouseCommandEventListeners( aNCmdEvt );
|
||||
if ( aDelData.IsDead() )
|
||||
if ( xWindow->IsDisposed() )
|
||||
return false;
|
||||
if ( pChild->ImplGetWindowImpl()->mbCommand )
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user