basic/source/runtime/methods.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a75d90740647414f55ef5a37bdfb230d624ec2eb Author: Julien Nabet <[email protected]> Date: Sun Apr 19 15:38:28 2015 +0200 Related tdf#55502: Harden a bit Change-Id: I56155e234b13ca3e9fb95565d08a38252eeba712 diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 3b84e4b..575ce6a 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 += " "; _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
