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; QPainterPath path;
foreach(const QPolygonF &p, img) 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 QPointF &iPoint, const QPointF &prevPoint, const QPointF &nextPoint);
static bool IsEkvPointOnLine(const VSAPoint &iPoint, const VSAPoint &prevPoint, const VSAPoint &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: private:
QSharedDataPointer<VAbstractPieceData> d; QSharedDataPointer<VAbstractPieceData> d;