diff --git a/common/xnode.cpp b/common/xnode.cpp index 594e1f07e4..fbfe407a3b 100644 --- a/common/xnode.cpp +++ b/common/xnode.cpp @@ -27,7 +27,7 @@ #include "macros.h" typedef wxXmlProperty XATTR; -#define GetAttribs GetProperties + void XNODE::Format( OUTPUTFORMATTER* out, int nestLevel ) throw( IOError ) { @@ -53,7 +53,7 @@ void XNODE::FormatContents( OUTPUTFORMATTER* out, int nestLevel ) throw( IOError std::string utf8; // output attributes first if they exist - for( XATTR* attr = (XATTR*) GetAttribs(); attr; attr = (XATTR*) attr->GetNext() ) + for( XATTR* attr = (XATTR*) GetAttributes(); attr; attr = (XATTR*) attr->GetNext() ) { utf8 = CONV_TO_UTF8( attr->GetValue() ); // capture the content diff --git a/eeschema/plugins/netlist_form_pads-pcb.xsl b/eeschema/plugins/netlist_form_pads-pcb.xsl index 8708a3026c..5de4a340ec 100644 --- a/eeschema/plugins/netlist_form_pads-pcb.xsl +++ b/eeschema/plugins/netlist_form_pads-pcb.xsl @@ -2,6 +2,9 @@