Remove useless assignment to variable "date".

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-02-22 19:29:30 +02:00
parent 67d69781f3
commit 703a26a5cf

View File

@ -115,11 +115,6 @@ VLayoutPiece VLayoutPiece::Create(const VPiece &piece, const VContainer *pattern
if (geom.IsVisible() == true) if (geom.IsVisible() == true)
{ {
VAbstractPattern* pDoc = qApp->getCurrentDocument(); VAbstractPattern* pDoc = qApp->getCurrentDocument();
QDate date;
if (pDoc->IsDateVisible() == true)
{
date = QDate::currentDate();
}
det.SetPatternInfo(pDoc, geom, qApp->font(), pattern->size(), pattern->height()); det.SetPatternInfo(pDoc, geom, qApp->font(), pattern->size(), pattern->height());
} }
const VGrainlineGeometry& grainlineGeom = piece.GetGrainlineGeometry(); const VGrainlineGeometry& grainlineGeom = piece.GetGrainlineGeometry();