summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-09-07 06:54:01 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2014-09-07 06:54:01 +0200
commit40f164a2b86b8f266f1a47130baec09f95d3c56f (patch)
tree24c365cdf7ba939afa5645eaf4bc439ea7a35187 /desktop
parent9c6e517a77d4453d6c653df98e82c0db8da33d81 (diff)
microoptimisation: no need to compute string length to test emptiness
Change-Id: If5093bca0e16e0f631c8cd1a7f4dde8bbf7da077
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" );