ports/editors/libreoffice/files/patch-desktop_source_app_app.cxx
Dima Panov 60ab1114e2 */libreoffice*: update to 7.5.0 release (+)
Office team is proud to announce LibreOffice 7.5 Community,
the new major release of the volunteer-supported free office suite for desktop productivity

Read more:	https://blog.documentfoundation.org/blog/2023/02/02/tdf-announces-libreoffice-75-community/
2023-02-04 11:43:03 +03:00

21 lines
806 B
C++

--- desktop/source/app/app.cxx.orig 2022-12-22 00:14:09 UTC
+++ desktop/source/app/app.cxx
@@ -539,6 +539,7 @@ void Desktop::DeInit()
void Desktop::DeInit()
{
+ const CommandLineArgs& rCmdLineArgs = GetCommandLineArgs();
try {
// instead of removing of the configManager just let it commit all the changes
utl::ConfigManager::storeConfigItems();
@@ -555,7 +556,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&) {