summaryrefslogtreecommitdiff
path: root/editors/libreoffice/files/patch-desktop_source_app_app.cxx
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2020-08-16 12:41:23 +0000
committerDima Panov <fluffy@FreeBSD.org>2020-08-16 12:41:23 +0000
commitb44cc05f32a7f2ebea75f73f4f750033a31dc0ed (patch)
tree28fea19f4445b43de14ea0130103a4572e2462e6 /editors/libreoffice/files/patch-desktop_source_app_app.cxx
parent- Update to 1.18.8 (diff)
LibreOffice suite: update to 7.0.0 release
The Office@FreeBSD team is proud to announce long awaited, new major release of LibreOffice suite - 7.0.0! New major branch comes with tons of new changes: switch render from opengl to skia, many templates redesigned from 4:3 to 16:9 format, added support for "ODF 1.3" and "ODF 1.3 Extended" documents format, support native 2013/2016/2019 mode instead of 2007 compatibility mode for DOCX, added a new icon theme, named Sukapura. Full release notes available on the official page (https://wiki.documentfoundation.org/ReleaseNotes/7.0) Of course, conservative users can keep 6.4.x stable version by switch to use all-in-one editors/libreoffice6 port and even with i18n langpack (off by default). It will be kept updated at least till 7.1.0 version will be released.
Diffstat (limited to 'editors/libreoffice/files/patch-desktop_source_app_app.cxx')
-rw-r--r--editors/libreoffice/files/patch-desktop_source_app_app.cxx21
1 files changed, 21 insertions, 0 deletions
diff --git a/editors/libreoffice/files/patch-desktop_source_app_app.cxx b/editors/libreoffice/files/patch-desktop_source_app_app.cxx
new file mode 100644
index 000000000000..0dbece6df9f0
--- /dev/null
+++ b/editors/libreoffice/files/patch-desktop_source_app_app.cxx
@@ -0,0 +1,21 @@
+--- desktop/source/app/app.cxx.orig
++++ desktop/source/app/app.cxx
+@@ -564,6 +564,7 @@ void Desktop::InitFinished()
+
+ void Desktop::DeInit()
+ {
++ const CommandLineArgs& rCmdLineArgs = GetCommandLineArgs();
+ try {
+ // instead of removing of the configManager just let it commit all the changes
+ utl::ConfigManager::storeConfigItems();
+@@ -580,7 +581,9 @@ void Desktop::DeInit()
+ // clear lockfile
+ m_xLockfile.reset();
+
+- RequestHandler::Disable();
++ if ( !rCmdLineArgs.GetUnknown().isEmpty()
++ || rCmdLineArgs.IsHelp() || rCmdLineArgs.IsVersion() )
++ RequestHandler::Disable();
+ if( pSignalHandler )
+ osl_removeSignalHandler( pSignalHandler );
+ } catch (const RuntimeException&) {