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