diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2013-06-22 12:53:29 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-06-24 09:00:20 +0000 |
commit | 34f50399f1bc896849a0e3fc3598ab1225d760c5 (patch) | |
tree | 0f0083ac029acee76587584b70d8b00335940878 /shell | |
parent | 64245c108aec557f62c254486aa354382bd445ce (diff) |
fdo#43460 shell,vcl,xmlreader: use isEmpty()
Change-Id: Ie3d16da6c246b79c4c304b21476f84b2788f0d6e
Reviewed-on: https://gerrit.libreoffice.org/4444
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/unix/exec/shellexec.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx index 6fe1c1e59e6b..b962f8a58172 100644 --- a/shell/source/unix/exec/shellexec.cxx +++ b/shell/source/unix/exec/shellexec.cxx @@ -236,7 +236,7 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar } // Prefer DESKTOP_LAUNCH when available - if ( aLaunchBuffer.getLength() > 0 ) + if ( !aLaunchBuffer.isEmpty() ) { FILE *pLaunch = popen( aLaunchBuffer.makeStringAndClear().getStr(), "w" ); if ( pLaunch != NULL ) |