summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-07-31 11:20:00 +0200
committerMihai Varga <mihai.mv13@gmail.com>2014-07-31 15:29:02 +0300
commitfa7c1b03f01efbc0af4399a2bc774b6e337446a9 (patch)
tree34ec5bbcd293fe5dd933d548d57d4151bd250568
parent8622a3bca4616a7a218a52115dddfbde0a8ec42c (diff)
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
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 2 insertions, 0 deletions
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<frame::XDesktop2> xComponentLoader = frame::Desktop::create(xContext);
pLib->maLastExceptionMsg = "";