unipoll: let InitVCL tolerate double init.
commite655dc8bbf010e5ef89c32c2ebde56281b323925
authorMichael Meeks <michael.meeks@collabora.com>
Thu, 9 May 2019 17:24:18 +0000 (9 18:24 +0100)
committerMichael Meeks <michael.meeks@collabora.com>
Fri, 10 May 2019 14:19:34 +0000 (10 16:19 +0200)
tree177b6a6e6143448098ae84703e0c6996ac709e76
parent9a78a4a16ff7b9a9d8f22809c5127f6389ec4805
unipoll: let InitVCL tolerate double init.

We need to get VCL initialized early in UniPoll mode, since the main
setup doesn't occur until runPoll is invoked, and we want to call lots
of virtual methods that take the SolarMutex before then - which requires
VCL to be initialized.

Change-Id: Id9c1b74c126cf7bb71d6560b7585d37327a9f5ef
Reviewed-on: https://gerrit.libreoffice.org/72071
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
desktop/source/lib/init.cxx
vcl/source/app/svmain.cxx