From dd418d8ca230da09a15de10db66970bb50db0172 Mon Sep 17 00:00:00 2001 From: Andrzej Hunt Date: Thu, 31 Jul 2014 11:20:00 +0200 Subject: [PATCH] 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 bc38cc2720be..53e49e3b0d56 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -276,6 +276,8 @@ static LibreOfficeKitDocument* lo_documentLoad(LibreOfficeKit* pThis, const char OUString aURL = getAbsoluteURL(pURL); + SolarMutexGuard aGuard; + uno::Reference xComponentLoader = frame::Desktop::create(xContext); pLib->maLastExceptionMsg = "";