Kaydet (Commit) 40f164a2 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

microoptimisation: no need to compute string length to test emptiness

Change-Id: If5093bca0e16e0f631c8cd1a7f4dde8bbf7da077
üst 9c6e517a
......@@ -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" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment