diff --git a/eeschema/sch_symbol.cpp b/eeschema/sch_symbol.cpp index 56b6d41d28..8f55d924e5 100644 --- a/eeschema/sch_symbol.cpp +++ b/eeschema/sch_symbol.cpp @@ -1250,10 +1250,6 @@ bool SCH_SYMBOL::ResolveTextVar( const SCH_SHEET_PATH* aPath, wxString* token, i { if( i == REFERENCE_FIELD ) *token = GetRef( aPath, 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 );