summaryrefslogtreecommitdiff
path: root/0001-rhbz-2171265-Report-fatal-InitApplicationServiceMana.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-11-17 06:59:31 +0000
committerCoprDistGit <infra@openeuler.org>2023-11-17 06:59:31 +0000
commitc2bd7ed576234519b4f1367cdfdafb0c4708e7a3 (patch)
tree9a10b33295e7bf26fc69381adeb234be9b1469bf /0001-rhbz-2171265-Report-fatal-InitApplicationServiceMana.patch
parent7c82555f97bafcac354459388b770e20e3450a41 (diff)
automatic import of libreofficeopeneuler23.03
Diffstat (limited to '0001-rhbz-2171265-Report-fatal-InitApplicationServiceMana.patch')
-rw-r--r--0001-rhbz-2171265-Report-fatal-InitApplicationServiceMana.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/0001-rhbz-2171265-Report-fatal-InitApplicationServiceMana.patch b/0001-rhbz-2171265-Report-fatal-InitApplicationServiceMana.patch
deleted file mode 100644
index b5360d7..0000000
--- a/0001-rhbz-2171265-Report-fatal-InitApplicationServiceMana.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From a1faf14f74a62ea76141115538d7d30d90c9eeb6 Mon Sep 17 00:00:00 2001
-From: Stephan Bergmann <sbergman@redhat.com>
-Date: Wed, 22 Mar 2023 14:40:04 +0100
-Subject: [PATCH] rhbz#2171265 Report fatal InitApplicationServiceManager
- failures more reliably
-
-For example, when initialization of the UNO type manager failed, any code run
-between this SetBootstrapError and the HandleBootstrapErrors in Desktop::Main
-which would need the type manager (e.g., to set a css::uno::Any) would have
-caused a crash, so would have failed to print to std::cerr the sought-after
-css::uno::Exception message. The mis-initialized process would most definitely
-crash sooner or later anyway, so there's no harm in a controlled std::abort()
-here (if that is even reached, and the process doesn't already crash in
-HandleBootstrapErrors, after it has printed the relevant information to
-std::cerr).
-
-Change-Id: Ic5889aedec0908fa4b1e2966eb188508d0f92d26
-Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149323
-Tested-by: Jenkins
-Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
----
- desktop/source/app/app.cxx | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
-index 5a35b5a745c2..f1ec0b679bc0 100644
---- a/desktop/source/app/app.cxx
-+++ b/desktop/source/app/app.cxx
-@@ -28,6 +28,7 @@
-
- #include <sal/config.h>
-
-+#include <cstdlib>
- #include <iostream>
- #include <string_view>
-
-@@ -458,7 +459,8 @@ void Desktop::Init()
- }
- catch (css::uno::Exception & e)
- {
-- SetBootstrapError( BE_UNO_SERVICEMANAGER, e.Message );
-+ HandleBootstrapErrors( BE_UNO_SERVICEMANAGER, e.Message );
-+ std::abort();
- }
-
- // Check whether safe mode is enabled
---
-2.40.0
-