summaryrefslogtreecommitdiffstats
path: root/scribus/pageitem_pathtext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scribus/pageitem_pathtext.cpp')
-rw-r--r--scribus/pageitem_pathtext.cpp4
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);