summaryrefslogtreecommitdiffstats
path: root/include/comphelper
diff options
context:
space:
mode:
authorMichael Warner <michael.warner.ut+libreoffice@gmail.com>2021-07-07 21:12:28 -0400
committerJulien Nabet <serval2412@yahoo.fr>2021-08-20 11:43:06 +0200
commit080e4550257a90597c241f83fd766b99c83ba6e8 (patch)
tree52fb5665d85a8815fa4f50baf3111c3b65d0396a /include/comphelper
parentloplugin:unusedfields (diff)
downloadcore-080e4550257a90597c241f83fd766b99c83ba6e8.tar.gz
core-080e4550257a90597c241f83fd766b99c83ba6e8.zip
tdf#141097 Revert "Veto process exit while an OLE client is connected"
This reverts changes that were made to prevent process exit when an OLE client is connected. These commits had the side effect of preventing the use case of creating a document via OLE, and then allowing the user to view/edit and ultimately quit from the GUI. Revert "More hacks for quit requests from an OLE Automation client" This reverts commit 05e03911cd1f8a355b6410d3997cffc2c794a1e9. Revert "Veto process exit while an OLE client is connected" This reverts commit 89f883bd90a50587868a57397b6350ed9559a20f. Change-Id: I29a1e42a830815bc8d1ff0056c22d86b8f98cc1a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118596 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/asyncquithandler.hxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/comphelper/asyncquithandler.hxx b/include/comphelper/asyncquithandler.hxx
index 9d994d177592..ce3db23a147a 100644
--- a/include/comphelper/asyncquithandler.hxx
+++ b/include/comphelper/asyncquithandler.hxx
@@ -29,8 +29,6 @@ class COMPHELPER_DLLPUBLIC AsyncQuitHandler
{
AsyncQuitHandler();
- bool mbForceQuit;
-
public:
AsyncQuitHandler(const AsyncQuitHandler&) = delete;
const AsyncQuitHandler& operator=(const AsyncQuitHandler&) = delete;
@@ -38,12 +36,6 @@ public:
static AsyncQuitHandler& instance();
static void QuitApplication();
- // Hack for the TerminationVetoer in extensions/source/ole/unoobjw.cxx. When it is an Automation
- // client itself that explicitly requests a quit (see VbaApplicationBase::Quit()), we do quit.
- // The flag can only be set to true, not back to false.
- void SetForceQuit();
- bool IsForceQuit() const;
-
DECL_STATIC_LINK(AsyncQuitHandler, OnAsyncQuit, void*, void);
};