From 71b1e3ff6374c23e65200d3bcafca387d29af04f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 12 Dec 2016 09:47:51 +0200 Subject: [PATCH] tdf#104573 - Assertion failed: SolarMutex not locked when trying to bring up File Open... dialog we need to hold the SolarMutex when doing VclPtr ref-counting Change-Id: I843f2a243acaf73db1f6557df23475fe5bb12131 Reviewed-on: https://gerrit.libreoffice.org/31892 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/window/event.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx index e8bb662355ed..38815a3a9f69 100644 --- a/vcl/source/window/event.cxx +++ b/vcl/source/window/event.cxx @@ -652,6 +652,7 @@ void Window::ImplCallFocusChangeActivate( vcl::Window* pNewOverlapWindow, NotifyEvent::NotifyEvent( MouseNotifyEvent nEventType, vcl::Window* pWindow, const void* pEvent ) { + SolarMutexGuard aVclGuard; mpWindow = pWindow; mpData = const_cast(pEvent); mnEventType = nEventType;