[Libreoffice-commits] core.git: vcl/source
Michael Meeks
michael.meeks at collabora.com
Fri May 8 14:05:03 PDT 2015
vcl/source/app/svapp.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit e953cb1a3c2c240a385608658ffc481e33c6854b
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Fri May 8 22:09:02 2015 +0100
Take SolarMutex when pushing app events that need a VclPtr.
Change-Id: Ice91c9e698d99d9674a7c7b3c688faa07603bf95
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 0796ded..3a56cd9 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -907,6 +907,7 @@ ImplSVEvent * Application::PostUserEvent( const Link<>& rLink, void* pCaller,
pSVEvent->mbCall = true;
if (bReferenceLink)
{
+ SolarMutexGuard aGuard;
// Double check that this is indeed a vcl::Window instance.
assert(dynamic_cast<vcl::Window *>(
static_cast<vcl::Window *>(rLink.GetInstance())) ==
More information about the Libreoffice-commits
mailing list