From 8c1bb1cd0e6e08b5aedb67c1279dcd5f57050238 Mon Sep 17 00:00:00 2001 From: Andrzej Hunt Date: Thu, 31 Jul 2014 11:20:00 +0200 Subject: LOK documentLoad needs SolarMutex protection too. We probably need to do this for most of LOK now that we use soffice_main. Change-Id: I77be7865511c083679cf2f68b0e5df106506fd70 --- desktop/source/lib/init.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index a521d064dedb..a08ab93cba41 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -282,6 +282,8 @@ static LibreOfficeKitDocument* lo_documentLoad(LibreOfficeKit* pThis, const char OUString aURL = getAbsoluteURL(pURL); + SolarMutexGuard aGuard; + uno::Reference xComponentLoader = frame::Desktop::create(xContext); pLib->maLastExceptionMsg = ""; -- cgit