Related tdf#55502: Harden a bit

Change-Id: I56155e234b13ca3e9fb95565d08a38252eeba712
This commit is contained in:
Julien Nabet 2015-04-19 15:38:28 +02:00
parent 174f205fa2
commit a75d907406

View File

@ -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 += " ";