diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-06-13 12:03:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-06-13 17:12:26 +0200 |
commit | dbc6cffff20ebf5f0cb933d884ac9de404740898 (patch) | |
tree | 42f03874cf33d2ca5da82c5c133db043a7d927cf /include/vcl | |
parent | 40a3a4f7002a38fa49f4c8d06a5fdd9ab6055e04 (diff) |
unopkg gui crashes on shutdown
since...
commit e655dc8bbf010e5ef89c32c2ebde56281b323925
Date: Thu May 9 18:24:18 2019 +0100
unipoll: let InitVCL tolerate double init.
which changed InitVCL to return true if it was
already initialized, tricking toolkit into thinking
it was the first one to call InitVCL
Change-Id: I33552a5e2caca909f8d63fbf5f23b9fbc4c2dfbd
Reviewed-on: https://gerrit.libreoffice.org/73957
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/svapp.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx index d89a23e54a13..8fc5d0d46ccb 100644 --- a/include/vcl/svapp.hxx +++ b/include/vcl/svapp.hxx @@ -1482,6 +1482,9 @@ public: VCL_DLLPUBLIC Application* GetpApp(); +// returns true if vcl is already initialized +VCL_DLLPUBLIC bool IsVCLInit(); +// returns true if vcl successfully initializes or was already initialized VCL_DLLPUBLIC bool InitVCL(); VCL_DLLPUBLIC void DeInitVCL(); |