From 992f38a6ce14855f5ac7f72b0b71efd663ecf9b3 Mon Sep 17 00:00:00 2001 From: Stefan Date: Sat, 7 Jan 2023 11:08:56 +0100 Subject: [PATCH] fix used functions --- eeschema/sch_plugins/eagle/sch_eagle_plugin.cpp | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/eeschema/sch_plugins/eagle/sch_eagle_plugin.cpp b/eeschema/sch_plugins/eagle/sch_eagle_plugin.cpp index dcd3316d30..fd9a146b5d 100644 --- a/eeschema/sch_plugins/eagle/sch_eagle_plugin.cpp +++ b/eeschema/sch_plugins/eagle/sch_eagle_plugin.cpp @@ -30,8 +30,6 @@ #include #include #include -#include -#include #include #include #include @@ -435,17 +433,10 @@ SCH_SHEET* SCH_EAGLE_PLUGIN::Load( const wxString& aFileName, SCHEMATIC* aSchema wxXmlDocument xmlDocument; wxFFileInputStream stream( m_filename.GetFullPath() ); - // check if this is an eagle XML file as we currently only support XML files, not binary files - wxString str; - - // open the file - wxTextFile tfile; - tfile.Open(aFileName); - - // read the first line - str = tfile.GetFirstLine(); - - if(!str.StartsWith(wxT("