diff --git a/bitmap2component/bitmap2component.cpp b/bitmap2component/bitmap2component.cpp index 4a419dca6a..a513c4a1c7 100644 --- a/bitmap2component/bitmap2component.cpp +++ b/bitmap2component/bitmap2component.cpp @@ -387,8 +387,6 @@ void BITMAPCONV_INFO::createOutputData( const wxString& aLayer ) potrace_dpoint_t( *c )[3]; - LOCALE_IO toggle; // Temporary switch the locale to standard C to r/w floats - // The layer name has meaning only for .kicad_mod files. // For these files the header creates 2 invisible texts: value and ref // (needed but not useful) on silk screen layer diff --git a/common/dialogs/panel_hotkeys_editor.cpp b/common/dialogs/panel_hotkeys_editor.cpp index ff05ff7264..5559b9116c 100644 --- a/common/dialogs/panel_hotkeys_editor.cpp +++ b/common/dialogs/panel_hotkeys_editor.cpp @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include diff --git a/eeschema/sch_plotter.cpp b/eeschema/sch_plotter.cpp index 3e2cecc4cb..1e85c556aa 100644 --- a/eeschema/sch_plotter.cpp +++ b/eeschema/sch_plotter.cpp @@ -132,7 +132,6 @@ void SCH_PLOTTER::createPDFFile( const SCH_PLOT_OPTS& aPlotOpts, wxString msg; wxFileName plotFileName; - LOCALE_IO toggle; // Switch the locale to standard C for( unsigned i = 0; i < sheetList.size(); i++ ) { @@ -453,8 +452,6 @@ bool SCH_PLOTTER::plotOneSheetPS( const wxString& aFileName, SCH_SCREEN* aScreen return false; } - LOCALE_IO toggle; // Switch the locale to standard C - plotter->StartPlot( m_schematic->CurrentSheet().GetPageNumber() ); if( aPlotOpts.m_useBackgroundColor && plotter->GetColorMode() ) @@ -633,8 +630,6 @@ bool SCH_PLOTTER::plotOneSheetSVG( const wxString& aFileName, SCH_SCREEN* aScree return false; } - LOCALE_IO toggle; - plotter->StartPlot( m_schematic->CurrentSheet().GetPageNumber() ); if( aPlotOpts.m_useBackgroundColor && plotter->GetColorMode() ) @@ -794,8 +789,6 @@ bool SCH_PLOTTER::plotOneSheetDXF( const wxString& aFileName, SCH_SCREEN* aScree return false; } - LOCALE_IO toggle; - plotter->StartPlot( m_schematic->CurrentSheet().GetPageNumber() ); if( aPlotOpts.m_plotDrawingSheet )