diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-04-24 13:19:44 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-05-13 15:27:02 +0300 |
commit | 74264014090b6d31070b3bb38a1a2bb00f5b05ee (patch) | |
tree | 3b6dd196c59d87e98726854ad087306fe17e7bfa /desktop/source/lib | |
parent | 06c86a168dd1b2ee57a9e2b11fbd8667ea018b33 (diff) |
tdf#124923: Need to call InitVCL() on iOS before using SolarMutexGuard
Change-Id: If5781ae101e58c26368e57787cb301f84ffa82a5
Diffstat (limited to 'desktop/source/lib')
-rw-r--r-- | desktop/source/lib/init.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index cd0d8677103f..f0453fefcad1 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -4627,6 +4627,10 @@ static void lo_runLoop(LibreOfficeKit* /*pThis*/, LibreOfficeKitWakeCallback pWakeCallback, void* pData) { +#ifdef IOS // Maybe ANDROID, too? + InitVCL(); +#endif + SolarMutexGuard aGuard; vcl::lok::registerPollCallbacks(pPollCallback, pWakeCallback, pData); |