tdf#96888 Kill internal vcl dog-tags ...

Did a small change to ImplSVEvent * Window::PostUserEvent( const Link<void*,void>& rLink, ... ) in event.cxx file. Patch No. 5

Change-Id: I9e7fd099aec6d5d2060bdf4761f4cff4fbe31544
Reviewed-on: https://gerrit.libreoffice.org/21219
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
This commit is contained in:
Ras-al-Ghul
2016-01-07 22:26:34 +05:30
committed by Michael Meeks
parent 774fb6d2e7
commit 47bac0de19

View File

@@ -317,10 +317,8 @@ ImplSVEvent * Window::PostUserEvent( const Link<void*,void>& rLink, void* pCalle
pSVEvent->mpInstanceRef = static_cast<vcl::Window *>(rLink.GetInstance());
}
ImplAddDel( &(pSVEvent->maDelData) );
if ( !mpWindowImpl->mpFrame->PostEvent( pSVEvent ) )
{
ImplRemoveDel( &(pSVEvent->maDelData) );
delete pSVEvent;
pSVEvent = nullptr;
}