desktop/source/app/app.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 40f164a2b86b8f266f1a47130baec09f95d3c56f Author: Lionel Elie Mamane <lio...@mamane.lu> Date: Sun Sep 7 06:54:01 2014 +0200 microoptimisation: no need to compute string length to test emptiness Change-Id: If5093bca0e16e0f631c8cd1a7f4dde8bbf7da077 diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 2569530..3155d68 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" ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits