diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/app.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 3f8cd6c7272f..256953040353 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -1980,7 +1980,8 @@ IMPL_LINK_NOARG(Desktop, OpenClients_Impl) CheckFirstRun( ); EnableOleAutomation(); - if (getenv ("OOO_EXIT_POST_STARTUP")) + const char *pExitPostStartup = getenv ("OOO_EXIT_POST_STARTUP"); + if (pExitPostStartup && strlen (pExitPostStartup) > 0) new ExitTimer(); } catch (const ::com::sun::star::uno::Exception &e) { OUString a( "UNO exception during client open:\n" ); |