mirror of
https://git.freebsd.org/ports.git
synced 2025-05-16 01:01:49 -04:00
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/
21 lines
806 B
C++
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&) {
|