diff --git a/eeschema/sch_plugins/altium/sch_altium_plugin.cpp b/eeschema/sch_plugins/altium/sch_altium_plugin.cpp index 392921178b..5264a93c11 100644 --- a/eeschema/sch_plugins/altium/sch_altium_plugin.cpp +++ b/eeschema/sch_plugins/altium/sch_altium_plugin.cpp @@ -1260,9 +1260,6 @@ void SCH_ALTIUM_PLUGIN::ParseRoundRectangle( const std::map& if( elem.ownerpartid == ALTIUM_COMPONENT_NONE ) { - const VECTOR2I topLeft = { sheetBottomLeft.x, sheetTopRight.y }; - const VECTOR2I bottomRight = { sheetTopRight.x, sheetBottomLeft.y }; - // TODO: misses rounded edges SCH_SHAPE* rect = new SCH_SHAPE( SHAPE_T::RECT, SCH_LAYER_ID::LAYER_NOTES ); @@ -1444,9 +1441,6 @@ void SCH_ALTIUM_PLUGIN::ParseRectangle( const std::map& aPro if( elem.ownerpartid == ALTIUM_COMPONENT_NONE ) { - const VECTOR2I topLeft = { sheetBottomLeft.x, sheetTopRight.y }; - const VECTOR2I bottomRight = { sheetTopRight.x, sheetBottomLeft.y }; - SCH_SHAPE* rect = new SCH_SHAPE( SHAPE_T::RECT, SCH_LAYER_ID::LAYER_NOTES ); rect->SetPosition( sheetTopRight );