[Libreoffice-commits] core.git: basic/source
Julien Nabet
serval2412 at yahoo.fr
Sun Apr 19 06:48:36 PDT 2015
basic/source/runtime/methods.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a75d90740647414f55ef5a37bdfb230d624ec2eb
Author: Julien Nabet <serval2412 at yahoo.fr>
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 += " ";
More information about the Libreoffice-commits
mailing list