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:
Ras-al-Ghul
2016-01-07 23:03:28 +05:30
committed by Michael Meeks
parent 6ac256da90
commit accc12efd1

View File

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