diff --git a/eeschema/sch_symbol.cpp b/eeschema/sch_symbol.cpp index b9b945b612..3f10486e06 100644 --- a/eeschema/sch_symbol.cpp +++ b/eeschema/sch_symbol.cpp @@ -1179,10 +1179,6 @@ bool SCH_SYMBOL::ResolveTextVar( wxString* token, int aDepth, const SCH_SHEET_PA { if( i == REFERENCE_FIELD ) *token = GetRef( &schematic->CurrentSheet(), true ); - else if( i == VALUE_FIELD ) - *token = GetValueFieldText( true, aPath, false ); - else if( i == FOOTPRINT_FIELD ) - *token = GetFootprintFieldText( true, aPath, false ); else *token = m_fields[ i ].GetShownText( aPath, false, aDepth + 1 );