diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-12-12 15:38:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-12-12 15:43:28 +0100 |
commit | 5613bcfc6dc0ea45f8baeef9a8469a77c31365f5 (patch) | |
tree | 5b4ccad412a6ae6a59e17a937531498ae2ad516a /vcl/headless/headlessinst.cxx | |
parent | 0ec2577476fd6633a24d0daab4a7f8848f3fc217 (diff) |
Consistently acquire solar mutex in all CreateSalInstance variants
...where all but the variants for Android and --enable-headless already did so
(and curiously the DestroySalInstance variants for Android and --enable-headless
already contained code to release the solar mutex). See the thread at
<http://lists.freedesktop.org/archives/libreoffice/2012-December/042535.html>
"--headless broken with --enable-headless" for further details.
Change-Id: I01be2e237e203a151ea8b1f3adfbcb3e63247cd7
Diffstat (limited to 'vcl/headless/headlessinst.cxx')
-rw-r--r-- | vcl/headless/headlessinst.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/headless/headlessinst.cxx b/vcl/headless/headlessinst.cxx index 439de86a583d..7793d85f8ce2 100644 --- a/vcl/headless/headlessinst.cxx +++ b/vcl/headless/headlessinst.cxx @@ -121,6 +121,7 @@ SalInstance *CreateSalInstance() { HeadlessSalInstance* pInstance = new HeadlessSalInstance( new SalYieldMutex() ); new HeadlessSalData( pInstance ); + pInstance->AcquireYieldMutex(1); return pInstance; } |