diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-04-19 15:38:28 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-04-19 15:40:56 +0200 |
commit | a75d90740647414f55ef5a37bdfb230d624ec2eb (patch) | |
tree | 937fc9512db0854fcbc8c27d106ef49ae9e79a77 /basic | |
parent | 174f205fa24ccf72e9a479d6be901144418f899e (diff) |
Related tdf#55502: Harden a bit
Change-Id: I56155e234b13ca3e9fb95565d08a38252eeba712
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/methods.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 3b84e4bc0a16..575ce6afc154 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -3590,7 +3590,7 @@ RTLFUNC(Shell) // attach additional parameters - everything must be parsed anyway if( nArgCount >= 4 ) { - OUString tmp = rPar.Get(3)->GetOUString(); + OUString tmp = rPar.Get(3)->GetOUString().trim(); if (!tmp.isEmpty()) { aCmdLine += " "; |