From dd519d68ea8d263e69864766599f6e54df85fff9 Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Mon, 29 Oct 2012 16:56:18 -0500 Subject: [PATCH] remove unused #include from several places --- eeschema/class_library.cpp | 1 - eeschema/lib_export.cpp | 1 - eeschema/libarch.cpp | 2 -- eeschema/libedit.cpp | 2 -- eeschema/netform.cpp | 1 - eeschema/symbedit.cpp | 1 - include/richio.h | 6 +++--- pcb_calculator/datafile_read_write.cpp | 1 - pcbnew/specctra.cpp | 1 - 9 files changed, 3 insertions(+), 13 deletions(-) diff --git a/eeschema/class_library.cpp b/eeschema/class_library.cpp index 00b611d751..4532f3aae3 100644 --- a/eeschema/class_library.cpp +++ b/eeschema/class_library.cpp @@ -44,7 +44,6 @@ #include #include -#include static const wxChar* duplicate_name_msg = _( "Library <%s> has duplicate entry name <%s>.\n\ diff --git a/eeschema/lib_export.cpp b/eeschema/lib_export.cpp index 5bec1d3646..c81695e6cf 100644 --- a/eeschema/lib_export.cpp +++ b/eeschema/lib_export.cpp @@ -39,7 +39,6 @@ #include #include -#include extern int ExportPartId; diff --git a/eeschema/libarch.cpp b/eeschema/libarch.cpp index d9cf174c74..399e00f31c 100644 --- a/eeschema/libarch.cpp +++ b/eeschema/libarch.cpp @@ -41,8 +41,6 @@ #include #include -#include - bool SCH_EDIT_FRAME::CreateArchiveLibrary( const wxString& aFileName ) { diff --git a/eeschema/libedit.cpp b/eeschema/libedit.cpp index 33cc2c1ce5..7fca9df69f 100644 --- a/eeschema/libedit.cpp +++ b/eeschema/libedit.cpp @@ -47,8 +47,6 @@ #include -#include - void LIB_EDIT_FRAME::DisplayLibInfos() { diff --git a/eeschema/netform.cpp b/eeschema/netform.cpp index 5caffe9291..bfea8ce59f 100644 --- a/eeschema/netform.cpp +++ b/eeschema/netform.cpp @@ -1055,7 +1055,6 @@ XNODE* NETLIST_EXPORT_TOOL::makeGenericComponents() return xcomps; } -#include // wxFFileOutputStream bool NETLIST_EXPORT_TOOL::WriteKiCadNetList( const wxString& aOutFileName ) { diff --git a/eeschema/symbedit.cpp b/eeschema/symbedit.cpp index a2d84ddc2d..14ff5cacbc 100644 --- a/eeschema/symbedit.cpp +++ b/eeschema/symbedit.cpp @@ -42,7 +42,6 @@ #include #include -#include void LIB_EDIT_FRAME::LoadOneSymbol() diff --git a/include/richio.h b/include/richio.h index 2e0db7484a..fb3c35d1db 100644 --- a/include/richio.h +++ b/include/richio.h @@ -597,9 +597,9 @@ public: * Constructor * @param aFileName is the full filename to open and save to as a text file. * @param aMode is what you would pass to wxFopen()'s mode, defaults to wxT( "wt" ) - * for text files that are to be created here and now. - * @param qQuoteChar is a C string holding a single char used for quoting - problematic strings (with whitespace or special characters in them). + * for text files that are to be created here and now. + * @param qQuoteChar is a char used for quoting problematic strings + (with whitespace or special characters in them). * @throw IO_ERROR if the file cannot be opened. */ FILE_OUTPUTFORMATTER( const wxString& aFileName, diff --git a/pcb_calculator/datafile_read_write.cpp b/pcb_calculator/datafile_read_write.cpp index 34982b9e9a..618e426166 100644 --- a/pcb_calculator/datafile_read_write.cpp +++ b/pcb_calculator/datafile_read_write.cpp @@ -34,7 +34,6 @@ #include #include #include -#include #include diff --git a/pcbnew/specctra.cpp b/pcbnew/specctra.cpp index 634672c5a8..b7d598b9f2 100644 --- a/pcbnew/specctra.cpp +++ b/pcbnew/specctra.cpp @@ -56,7 +56,6 @@ #include #include -#include // wxFFileOutputStream namespace DSN {