summaryrefslogtreecommitdiff
path: root/desktop
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 12:31:43 +0200
commitdd418d8ca230da09a15de10db66970bb50db0172 (patch)
tree66d3c8d7d133c5daa754aab7389920745b0ec64a /desktop
parent5beec739f0c790615ed84e35dd513282d7dfa17d (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
Diffstat (limited to 'desktop')
-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 = "";