summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-06-13 12:03:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-06-13 15:12:44 +0200
commit21f52ffd77f68d345949f212ad7d622502bd21e9 (patch)
tree90fb1fbae47b150f4719c101bab020dd4c8461c4 /include/vcl
parent28dcdd5f6c2204718519e215d2ef5466743536c7 (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/73956 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.hxx3
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();