summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-07-31 11:20:00 +0200
committerAndrzej Hunt <andrzej.hunt@collabora.com>2014-07-31 11:20:00 +0200
commit8c1bb1cd0e6e08b5aedb67c1279dcd5f57050238 (patch)
tree6fb1a5bb511cf03f20eee7a7adf709fbb48270a4
parent9be8958a9470be52221906999f28bf8541733341 (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 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<frame::XDesktop2> xComponentLoader = frame::Desktop::create(xContext);
pLib->maLastExceptionMsg = "";