Browse Source

Remove #ifndef that's redundant

This seems to date back to once upon a time when gerbview didn't even use base_units
7.0
Marek Roszko 3 years ago
parent
commit
8dddc07f26
  1. 5
      common/eda_text.cpp

5
common/eda_text.cpp

@ -772,10 +772,6 @@ bool EDA_TEXT::IsDefaultFormatting() const
void EDA_TEXT::Format( OUTPUTFORMATTER* aFormatter, int aNestLevel, int aControlBits ) const
{
#ifndef GERBVIEW // Gerbview does not use EDA_TEXT::Format
// and does not define FormatInternalUnits, used here
// however this function should exist
aFormatter->Print( aNestLevel + 1, "(effects" );
aFormatter->Print( 0, " (font" );
@ -843,7 +839,6 @@ void EDA_TEXT::Format( OUTPUTFORMATTER* aFormatter, int aNestLevel, int aControl
}
aFormatter->Print( 0, ")\n" ); // (effects
#endif
}

Loading…
Cancel
Save