Kaydet (Commit) c9e446d6 authored tarafından Armin Le Grand's avatar Armin Le Grand

i121507 Added commata to whitespace list

üst bf4a58aa
......@@ -410,9 +410,24 @@ sal_Bool GetNextParameter( com::sun::star::drawing::EnhancedCustomShapeParameter
}
}
if ( bValid )
{ // skipping white spaces
while( ( nIndex < rParaString.getLength() ) && rParaString[ nIndex ] == (sal_Unicode)' ' )
nIndex++;
{
// skipping white spaces and commatas (#121507#)
const sal_Unicode aSpace(sal_Unicode(' '));
const sal_Unicode aCommata(sal_Unicode(','));
while(nIndex < rParaString.getLength())
{
const sal_Unicode aCandidate(rParaString[nIndex]);
if(aSpace == aCandidate || aCommata == aCandidate)
{
nIndex++;
}
else
{
break;
}
}
}
return bValid;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment