Minor fixes in code: remove dead code.
This commit is contained in:
parent
ebdc383cc3
commit
70c2380fc2
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2004 Jean-Pierre Charras, jaen-pierre.charras@gipsa-lab.inpg.com
|
* Copyright (C) 2019 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
||||||
* Copyright (C) 2004-2017 KiCad Developers, see change_log.txt for contributors.
|
* Copyright (C) 2004-2019 KiCad Developers, see AUTHORS.txt for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -150,8 +150,6 @@ public:
|
||||||
*/
|
*/
|
||||||
void Copy( LIB_FIELD* aTarget ) const;
|
void Copy( LIB_FIELD* aTarget ) const;
|
||||||
|
|
||||||
void SetFields( const std::vector <LIB_FIELD> aFields );
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return true if the field value is void (no text in this field)
|
* @return true if the field value is void (no text in this field)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2018 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
* Copyright (C) 2019 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
||||||
* Copyright (C) 2018 KiCad Developers, see AUTHORS.txt for contributors.
|
* Copyright (C) 2019 KiCad Developers, see AUTHORS.txt for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -134,7 +134,6 @@ double DXF_IMPORT_PLUGIN::mapWidth( double aDxfWidth )
|
||||||
bool DXF_IMPORT_PLUGIN::ImportDxfFile( const wxString& aFile )
|
bool DXF_IMPORT_PLUGIN::ImportDxfFile( const wxString& aFile )
|
||||||
{
|
{
|
||||||
DL_Dxf dxf_reader;
|
DL_Dxf dxf_reader;
|
||||||
std::string filename = TO_UTF8( aFile );
|
|
||||||
|
|
||||||
// wxFopen takes care of unicode filenames across platforms
|
// wxFopen takes care of unicode filenames across platforms
|
||||||
FILE* fp = wxFopen( aFile, "rt" );
|
FILE* fp = wxFopen( aFile, "rt" );
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2018 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
* Copyright (C) 2019 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
||||||
* Copyright (C) 1992-2018 KiCad Developers, see AUTHORS.txt for contributors.
|
* Copyright (C) 1992-2019 KiCad Developers, see AUTHORS.txt for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -64,8 +64,8 @@ public:
|
||||||
// 2 = entity in progress
|
// 2 = entity in progress
|
||||||
int m_EntityFlag; // a info flag to parse entities
|
int m_EntityFlag; // a info flag to parse entities
|
||||||
|
|
||||||
VECTOR2D m_LastCoordinate; // the last vertex coordinate read (unit = mm)
|
VECTOR2D m_LastCoordinate; // the last vertex coordinate read (unit = mm)
|
||||||
VECTOR2D m_PolylineStart; // The first point of the polyline entity, when reading a polyline (unit = mm)
|
VECTOR2D m_PolylineStart; // The first point of the polyline entity, when reading a polyline (unit = mm)
|
||||||
double m_BulgeVertex; // the last vertex bulge value read
|
double m_BulgeVertex; // the last vertex bulge value read
|
||||||
|
|
||||||
// for spline parsing: parameters
|
// for spline parsing: parameters
|
||||||
|
@ -101,6 +101,7 @@ public:
|
||||||
m_SplineTangentStartY = 0.0;
|
m_SplineTangentStartY = 0.0;
|
||||||
m_SplineTangentEndX = 0.0;
|
m_SplineTangentEndX = 0.0;
|
||||||
m_SplineTangentEndY = 0.0;
|
m_SplineTangentEndY = 0.0;
|
||||||
|
m_BulgeVertex = 0.0;
|
||||||
m_SplineKnotsList.clear();
|
m_SplineKnotsList.clear();
|
||||||
m_SplineControlPointList.clear();
|
m_SplineControlPointList.clear();
|
||||||
m_SplineFitPointList.clear();
|
m_SplineFitPointList.clear();
|
||||||
|
|
Loading…
Reference in New Issue