summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-12 09:47:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-12 10:02:08 +0000
commit71b1e3ff6374c23e65200d3bcafca387d29af04f (patch)
treec034f7cdbca23e1b0f8992b9a483bcb73f43f669 /vcl
parente43a712550946efd598387fc2bdd60a26637646f (diff)
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>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/event.cxx1
1 files changed, 1 insertions, 0 deletions
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<void*>(pEvent);
mnEventType = nEventType;