diff options
| author | jghali <jghali@11d20701-8431-0410-a711-e3c959e3b870> | 2012-06-25 18:06:29 +0000 |
|---|---|---|
| committer | jghali <jghali@11d20701-8431-0410-a711-e3c959e3b870> | 2012-06-25 18:06:29 +0000 |
| commit | bb38814c256aae1c4442a16eb91a4f5d1fece200 (patch) | |
| tree | 74bc6b39816eeca9a764466f9dd720a02dc7ba45 /scribus/pageitem_pathtext.cpp | |
| parent | 7efd603c3c10965dda75de63918aaa3843bc0d1a (diff) | |
| download | scribus-bb38814c256aae1c4442a16eb91a4f5d1fece200.tar.gz scribus-bb38814c256aae1c4442a16eb91a4f5d1fece200.tar.xz scribus-bb38814c256aae1c4442a16eb91a4f5d1fece200.zip | |
fix quite a few build warnings
git-svn-id: svn://scribus.net/branches/Version14x/Scribus@17634 11d20701-8431-0410-a711-e3c959e3b870
Diffstat (limited to 'scribus/pageitem_pathtext.cpp')
| -rw-r--r-- | scribus/pageitem_pathtext.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scribus/pageitem_pathtext.cpp b/scribus/pageitem_pathtext.cpp index 1a38707..31b5dc2 100644 --- a/scribus/pageitem_pathtext.cpp +++ b/scribus/pageitem_pathtext.cpp @@ -78,13 +78,12 @@ void PageItem_PathText::DrawObj_Item(ScPainter *p, QRectF cullingArea, double sc MaxChars = 0; int a; double chs; - QString chstr, chstr2, chstr3; + QString chstr; ScText *hl; double dx; FPoint point = FPoint(0, 0); FPoint tangent = FPoint(0, 0); uint seg = 0; - double segLen = 0; QColor tmp; CurX = Extra; QString cachedStroke = ""; @@ -131,7 +130,6 @@ void PageItem_PathText::DrawObj_Item(ScPainter *p, QRectF cullingArea, double sc CurX += itemText.charStyle(0).fontSize() * itemText.charStyle(0).tracking() / 10000.0; totalTextLen += itemText.charStyle(0).fontSize() * itemText.charStyle(0).tracking() / 10000.0; } - segLen = PoLine.lenPathSeg(seg); for (a = firstChar; a < itemText.length(); ++a) { hl = itemText.item(a); |
