From bb38814c256aae1c4442a16eb91a4f5d1fece200 Mon Sep 17 00:00:00 2001 From: jghali Date: Mon, 25 Jun 2012 18:06:29 +0000 Subject: fix quite a few build warnings git-svn-id: svn://scribus.net/branches/Version14x/Scribus@17634 11d20701-8431-0410-a711-e3c959e3b870 --- scribus/pageitem_pathtext.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scribus/pageitem_pathtext.cpp') 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); -- cgit