LTspice importer - remove dead code

This commit is contained in:
Roberto Fernandez Bautista 2023-07-09 17:06:29 +02:00
parent df63ca0189
commit 6539171459
3 changed files with 2 additions and 9 deletions

View File

@ -98,11 +98,7 @@ SCH_SHEET* SCH_LTSPICE_PLUGIN::Load( const wxString& aFileName, SCHEMATIC* aSche
}
LTSPICE_SCHEMATIC ascFile( aFileName, ltspiceDataDir, nullptr, nullptr );
SCH_PLUGIN::SCH_PLUGIN_RELEASER sch_plugin;
sch_plugin.set( SCH_IO_MGR::FindPlugin( SCH_IO_MGR::SCH_KICAD ) );
ascFile.Load( aSchematic, rootSheet, &sch_plugin, aFileName );
ascFile.Load( aSchematic, rootSheet, aFileName );
aSchematic->CurrentSheet().UpdateAllScreenReferences();

View File

@ -34,7 +34,6 @@
void LTSPICE_SCHEMATIC::Load( SCHEMATIC* aSchematic, SCH_SHEET* aRootSheet,
SCH_PLUGIN::SCH_PLUGIN_RELEASER* aSchPlugin,
const wxFileName& aLibraryFileName )
{
std::vector<LTSPICE_FILE> sourceFiles;

View File

@ -290,11 +290,9 @@ public:
*
* @param aSchematic is the schematic object.
* @param aRootSheet is the root sheet referencing variable.
* @param aSchPlugin is plugin releaser object, used to free memory when loading is done.
* @param aLibraryFileName is the name of the library which gets created when the plugin runs.
*/
void Load( SCHEMATIC* aSchematic, SCH_SHEET* aRootSheet,
SCH_PLUGIN::SCH_PLUGIN_RELEASER* aSchPlugin, const wxFileName& aLibraryFileName );
void Load( SCHEMATIC* aSchematic, SCH_SHEET* aRootSheet, const wxFileName& aLibraryFileName );
/**
* Used to check if the given symbol is subschematic or not.