From 8dddc07f2674d74161eefd3cb10aaf7f1af89824 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Mon, 29 Aug 2022 23:24:48 -0400 Subject: [PATCH] Remove #ifndef that's redundant This seems to date back to once upon a time when gerbview didn't even use base_units --- common/eda_text.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/common/eda_text.cpp b/common/eda_text.cpp index 3929900828..d54aa9171f 100644 --- a/common/eda_text.cpp +++ b/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 }