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 <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -652,6 +652,7 @@ void Window::ImplCallFocusChangeActivate( vcl::Window* pNewOverlapWindow,
|
|||||||
NotifyEvent::NotifyEvent( MouseNotifyEvent nEventType, vcl::Window* pWindow,
|
NotifyEvent::NotifyEvent( MouseNotifyEvent nEventType, vcl::Window* pWindow,
|
||||||
const void* pEvent )
|
const void* pEvent )
|
||||||
{
|
{
|
||||||
|
SolarMutexGuard aVclGuard;
|
||||||
mpWindow = pWindow;
|
mpWindow = pWindow;
|
||||||
mpData = const_cast<void*>(pEvent);
|
mpData = const_cast<void*>(pEvent);
|
||||||
mnEventType = nEventType;
|
mnEventType = nEventType;
|
||||||
|
Reference in New Issue
Block a user