PainterSvg: Fixed compiling errors in MinGW

git-svn-id: svn://ultimatepp.org/upp/trunk@7352 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
koldo 2014-05-04 13:55:11 +00:00
parent 462345cec7
commit 1142f1d90a

View file

@ -503,7 +503,9 @@ void SvgPaint_Text(Painter& sw, XmlParser &xp, Svg2DTransform transf, SvgStyle s
int factor = 20; // Factor to get better resolution text
Font f(Font::ARIAL, 12);
StringBuffer stext = xp.ReadText();
String str = xp.ReadText();
StringBuffer stext;
stext = str;
int i, j;
for (i = j = 0; i < stext.GetCount(); ++i, ++j) {