<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><br></div><div>------------------------------------------------------------------------------------</div><div><br></div><div>I'm having some issues removing&nbsp;<span class="Apple-style-span" style="font-family: Arial; font-size: 12px; ">DECLARE_LIST( SwXMLTableLinesCache_Impl, SwXMLTableLinesPtr ) from&nbsp;</span><span class="Apple-style-span" style="font-family: Arial; font-size: 12px; ">sw/source/filter/xml/xmltble.cxx.</span></div><div><span class="Apple-style-span" style="font-family: Arial; font-size: 12px; "><br></span></div><div><span class="Apple-style-span" style="font-family: Arial; font-size: 12px; ">The main issue is that my compiler (g++ 4.0) doesn't allow the following:</span></div><div><span class="Apple-style-span" style="font-family: Arial; font-size: 12px; "><br></span></div><div><span class="Apple-style-span" style="font-family: Arial; font-size: 12px; ">class Foo;</span></div><div><span class="Apple-style-span" style="font-family: Arial; font-size: 12px; "><br></span></div><div><span class="Apple-style-span" style="font-family: Arial; font-size: 12px; ">class Bar {</span></div><div><span class="Apple-style-span" style="font-family: Arial; font-size: 12px; "><span class="Apple-tab-span" style="white-space:pre">        </span>Foo* myFoo;</span></div><div><font class="Apple-style-span" face="Arial">}</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">class Foo {</font></div><div><font class="Apple-style-span" face="Arial"><span class="Apple-tab-span" style="white-space:pre">        </span>int mySomething;</font></div><div><font class="Apple-style-span" face="Arial">}</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">typedef ::std::vector&lt; Foo* &gt; typeFoo;</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">Because of this, I need to move enough information from the .cxx into .hxx to define Foo before Bar; however, Foo is build using some more magic Macros so I don't know how much code I can safely move to the header. Any suggestions on this would be nice.</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">The only two DECLARE_LIST() instances left in writer are the above and&nbsp;</font><span class="Apple-style-span" style="font-family: Arial; font-size: 12px; ">DECLARE_LIST( SwXMLFrmFmts_Impl, SwFrmFmtPtr ) which is declared in the same .cxx as the one problem one. I'm going to see if it has the same issue.</span></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">Thanks for your help,</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">Joe P.</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div></body></html>