Cppcheck warning.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-10-25 11:56:24 +03:00
parent 19fb13affe
commit 7c0d17a7e3
2 changed files with 2 additions and 2 deletions

View file

@ -992,7 +992,7 @@ bool VAbstractPiece::IsEkvPointOnLine(const VSAPoint &iPoint, const VSAPoint &pr
}
//---------------------------------------------------------------------------------------------------------------------
QPainterPath VAbstractPiece::PlaceLabelImgPath(const PlaceLabelImg &img) const
QPainterPath VAbstractPiece::PlaceLabelImgPath(const PlaceLabelImg &img)
{
QPainterPath path;
foreach(const QPolygonF &p, img)

View file

@ -195,7 +195,7 @@ protected:
static bool IsEkvPointOnLine(const QPointF &iPoint, const QPointF &prevPoint, const QPointF &nextPoint);
static bool IsEkvPointOnLine(const VSAPoint &iPoint, const VSAPoint &prevPoint, const VSAPoint &nextPoint);
QPainterPath PlaceLabelImgPath(const PlaceLabelImg &img) const;
static QPainterPath PlaceLabelImgPath(const PlaceLabelImg &img);
private:
QSharedDataPointer<VAbstractPieceData> d;