GCC warnings.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-03-27 19:35:55 +03:00
parent c4ca41aa83
commit a2aaf0ccff
2 changed files with 5 additions and 7 deletions

View File

@ -361,7 +361,7 @@ void VDxfEngine::drawEllipse(const QRectF & rect)
FromPixel(majorX, varInsunits),
FromPixel(majorY, varInsunits),
FromPixel(0, varInsunits),
FromPixel(majorY, varInsunits),
FromPixel(ratio, varInsunits),
0, 6.28 // startangle and endangle of ellipse in rad
),
DL_Attributes("0", getPenColor(), -1, getPenStyle(), 1.0));

View File

@ -157,8 +157,6 @@ QVariant VControlPointSpline::itemChange(QGraphicsItem::GraphicsItemChange chang
if (not freeLength)
{
qreal length = controlLine->line().length();
qreal l2 = oldLine.length();
newLine.setLength(oldLine.length());
}