Cppcheck warning.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-08-22 15:33:32 +03:00
parent eb8f004a4a
commit 067d40813c
2 changed files with 2 additions and 2 deletions

View File

@ -414,7 +414,7 @@ void VPosition::CombineEdges(VLayoutPiece &detail, const QLineF &globalEdge, int
}
//---------------------------------------------------------------------------------------------------------------------
void VPosition::RotateEdges(VLayoutPiece &detail, const QLineF &globalEdge, int dEdge, qreal angle) const
void VPosition::RotateEdges(VLayoutPiece &detail, const QLineF &globalEdge, int dEdge, qreal angle)
{
QLineF detailEdge = detail.LayoutEdge(dEdge);
// Now we move detail to position near to global contour edge.

View File

@ -104,7 +104,7 @@ private:
bool SheetContains(const QRectF &rect) const;
void CombineEdges(VLayoutPiece &detail, const QLineF &globalEdge, int dEdge);
void RotateEdges(VLayoutPiece &detail, const QLineF &globalEdge, int dEdge, qreal angle) const;
static void RotateEdges(VLayoutPiece &detail, const QLineF &globalEdge, int dEdge, qreal angle);
void Rotate(int number);
void FollowGrainline();