vcl/source/app/svapp.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit e953cb1a3c2c240a385608658ffc481e33c6854b
Author: Michael Meeks <[email protected]>
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())) ==
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits