From 788f27889f91df7d00540a4d14a87ed059e05645 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 14 Apr 2018 16:47:55 +0300 Subject: [PATCH] Refactoring. Use temporary variable instead of copy. --HG-- branch : develop --- src/libs/vdxf/vdxfengine.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libs/vdxf/vdxfengine.cpp b/src/libs/vdxf/vdxfengine.cpp index 306e63684..708c6ef1b 100644 --- a/src/libs/vdxf/vdxfengine.cpp +++ b/src/libs/vdxf/vdxfengine.cpp @@ -679,8 +679,7 @@ void VDxfEngine::ExportAAMADraw(dx_ifaceBlock *detailBlock, const VLayoutPiece & { if (not detail.IsHideMainPath() && not detail.IsSeamAllowanceBuiltIn()) { - QVector poly = detail.GetContourPoints(); - if (DRW_Entity *e = AAMAPolygon(poly, QChar('8'), true)) + if (DRW_Entity *e = AAMAPolygon(detail.GetContourPoints(), QChar('8'), true)) { detailBlock->ent.push_back(e); }