desktop/source/app/app.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 10143717834d8401d85fdf9564e782a58b9983ec Author: Matthew J. Francis <mjay.fran...@gmail.com> Date: Wed Sep 3 17:36:55 2014 +0800 Make OOO_EXIT_POST_STARTUP behave more nicely when blank Change-Id: I28bc8027908225d78c9543f3813d3bfe3818451d Reviewed-on: https://gerrit.libreoffice.org/11264 Reviewed-by: Norbert Thiebaud <nthieb...@gmail.com> Tested-by: Norbert Thiebaud <nthieb...@gmail.com> diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 3f8cd6c..2569530 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" ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits