Kaydet (Commit) cc444e08 authored tarafından Michael Meeks's avatar Michael Meeks

Hold a reference on the Window while emitting events from vcl backends.

Change-Id: I4673dc03c214ca8f5c227a444e182a45f6199b9b
üst bbdd739d
......@@ -2377,11 +2377,14 @@ static void ImplHandleSalQueryCharPosition( vcl::Window *pWindow,
}
}
bool ImplWindowFrameProc( vcl::Window* pWindow, SalFrame* /*pFrame*/,
bool ImplWindowFrameProc( vcl::Window* _pWindow, SalFrame* /*pFrame*/,
sal_uInt16 nEvent, const void* pEvent )
{
DBG_TESTSOLARMUTEX();
// Ensure the window survives during this method.
VclPtr<vcl::Window> pWindow( _pWindow );
bool nRet = false;
// #119709# for some unknown reason it is possible to receive events (in this case key events)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment