summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-07-21 18:50:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-07-22 11:13:28 +0200
commitaa2067dda63852b0eb84d5c32497f5a28177bb1c (patch)
treec55e9293ba60ac588e2b9431905c5ea0d3e48895 /shell
parent7335d912de04eaa279dc805ee0ed5be0fcac5326 (diff)
elide some makeStringAndClear() calls
Change-Id: Iccdb04df53bc981e2240240daddf15e9e1bb5a16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137310 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'shell')
-rw-r--r--shell/source/unix/exec/shellexec.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx
index 195a697888c2..97334fcd32c3 100644
--- a/shell/source/unix/exec/shellexec.cxx
+++ b/shell/source/unix/exec/shellexec.cxx
@@ -231,7 +231,7 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar
OString cmd =
#ifdef LINUX
// avoid blocking (call it in background)
- "( " + aBuffer.makeStringAndClear() + " ) &";
+ "( " + aBuffer + " ) &";
#else
aBuffer.makeStringAndClear();
#endif