Pcbnew: fix Hyperlynx export reporting string formatting.
This commit is contained in:
parent
fe1c2310e4
commit
f056777e6a
|
@ -57,7 +57,6 @@ public:
|
|||
HYPERLYNX_PAD_STACK( BOARD* aBoard, const VIA* aVia );
|
||||
~HYPERLYNX_PAD_STACK(){};
|
||||
|
||||
|
||||
bool isThrough() const
|
||||
{
|
||||
return m_type == PAD_ATTRIB_HOLE_NOT_PLATED || m_type == PAD_ATTRIB_STANDARD;
|
||||
|
@ -126,7 +125,6 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
bool isEmpty() const
|
||||
{
|
||||
LSET layerMask = LSET::AllCuMask() & m_board->GetEnabledLayers();
|
||||
|
@ -135,7 +133,6 @@ public:
|
|||
return outLayers.none();
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
BOARD* m_board;
|
||||
int m_id;
|
||||
|
@ -184,11 +181,12 @@ private:
|
|||
case PAD_SHAPE_RECT: shapeId = 1; break;
|
||||
default:
|
||||
shapeId = 0;
|
||||
|
||||
if( m_reporter )
|
||||
{
|
||||
m_reporter->Report(
|
||||
_( "File contains pad shapes that are not supported by the"
|
||||
"Hyperlynx exporter (oval, rectangle, circle). They have been"
|
||||
_( "File contains pad shapes that are not supported by the "
|
||||
"Hyperlynx exporter (oval, rectangle, circle). They have been "
|
||||
"exported as oval pads." ),
|
||||
REPORTER::RPT_WARNING );
|
||||
}
|
||||
|
@ -290,6 +288,7 @@ void HYPERLYNX_EXPORTER::writeSinglePadStack( HYPERLYNX_PAD_STACK& aStack )
|
|||
m_out->Print( 0, "}\n\n" );
|
||||
}
|
||||
|
||||
|
||||
bool HYPERLYNX_EXPORTER::writeBoardInfo()
|
||||
{
|
||||
SHAPE_POLY_SET outlines;
|
||||
|
|
Loading…
Reference in New Issue