diff --git a/pcbnew/dialogs/dialog_export_odbpp.cpp b/pcbnew/dialogs/dialog_export_odbpp.cpp index 21a9c8a119..a522ffb144 100644 --- a/pcbnew/dialogs/dialog_export_odbpp.cpp +++ b/pcbnew/dialogs/dialog_export_odbpp.cpp @@ -51,6 +51,7 @@ #include #include #include +#include @@ -260,6 +261,8 @@ void DIALOG_EXPORT_ODBPP::GenerateODBPPFiles( const JOB_EXPORT_PCB_ODB& aJob, BO PCB_EDIT_FRAME* aParentFrame, PROGRESS_REPORTER* aProgressReporter, REPORTER* aReporter ) { + LOCALE_IO toggle; + wxCHECK( aBoard, /* void */ ); wxString outputPath = aJob.GetFullOutputPath( aBoard->GetProject() );