<p>Okay I&#39;ve now a beginning of a build of chart2 and I&#39;ve added:<br>
#include &lt;sal/macros.h&gt;<br>
To the file, but the compilation says that the file is not found,<br>
So where do one add the sal depends to the module? (or simply the includes)</p>
<div class="gmail_quote">On Oct 14, 2010 10:11 PM, &quot;Michael Meeks&quot; &lt;<a href="mailto:michael.meeks@novell.com">michael.meeks@novell.com</a>&gt; wrote:<br type="attribution">&gt; Hi Rene,<br>&gt; <br>&gt; On Thu, 2010-10-14 at 19:05 +0200, René Kjellerup wrote:<br>
&gt;&gt; I&#39;ve looked through the calc&#39;s chart2 source and translated and spell<br>&gt;&gt; corrected a few comments in the view code<br>&gt; <br>&gt;         Cool - nice work thanks for that; I pushed it.<br>&gt; <br>&gt;&gt; in the ChartItemPool I&#39;ve added the use of SAL_N_ELEMENTS(array) too<br>
&gt; <br>&gt;         Yep; the slight issue here though is that we need to re-arrange the<br>&gt; code a bit. Your changes would work, but only if SCH_ATTR_START == 0 -<br>&gt; since the range is offset otherwise. It would work if we had:<br>
&gt; <br>&gt; -    for( i = SCHATTR_START; i &lt;= SCHATTR_END; i++ )<br>&gt; +    for( i = 0; i &lt;= SAL_N_ELEMENTS(pItemInfos); i++ )<br>&gt;      {<br>&gt; -        pItemInfos[i - SCHATTR_START]._nSID = 0;<br>&gt; +        pItemInfos[i]._nSID = 0;<br>
&gt; <br>&gt;         etc. ;-) it could perhaps be re-factored like that if you want, but<br>&gt; prolly best to compile/test it.<br>&gt; <br>&gt;         Anyhow - thanks for your work ! looking forward to what you work on<br>&gt; next - is there any area of LibreOffice you&#39;re particularly interested<br>
&gt; in contributing to ?<br>&gt; <br>&gt;         All the best,<br>&gt; <br>&gt;                 Michael.<br>&gt; <br>&gt; -- <br>&gt;  <a href="mailto:michael.meeks@novell.com">michael.meeks@novell.com</a>  &lt;&gt;&lt;, Pseudo Engineer, itinerant idiot<br>
&gt; <br>&gt; <br></div>