Remove #ifndef that's redundant

This seems to date back to once upon a time when gerbview didn't even use base_units
This commit is contained in:
Marek Roszko 2022-08-29 23:24:48 -04:00
parent a8a75a91e1
commit 8dddc07f26
1 changed files with 0 additions and 5 deletions

View File

@ -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
}