<p>Wow... a simple symbol mistake of the brain, all the includes seemed to have hxx extension so....</p>
<p>It complies now pulling a diff together.<br>
</p>
<div class="gmail_quote">On Oct 16, 2010 3:30 PM, "René Kjellerup" <<a href="mailto:rk.katana.steel@gmail.com">rk.katana.steel@gmail.com</a>> wrote:<br type="attribution">> Okay I've now a beginning of a build of chart2 and I've added:<br>
> #include <sal/macros.h><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)<br>> On Oct 14, 2010 10:11 PM, "Michael Meeks" <<a href="mailto:michael.meeks@novell.com">michael.meeks@novell.com</a>> wrote:<br>
>> Hi Rene,<br>>><br>>> On Thu, 2010-10-14 at 19:05 +0200, René Kjellerup wrote:<br>>>> I've looked through the calc's chart2 source and translated and spell<br>>>> corrected a few comments in the view code<br>
>><br>>> Cool - nice work thanks for that; I pushed it.<br>>><br>>>> in the ChartItemPool I've added the use of SAL_N_ELEMENTS(array) too<br>>><br>>> Yep; the slight issue here though is that we need to re-arrange the<br>
>> code a bit. Your changes would work, but only if SCH_ATTR_START == 0 -<br>>> since the range is offset otherwise. It would work if we had:<br>>><br>>> - for( i = SCHATTR_START; i <= SCHATTR_END; i++ )<br>
>> + for( i = 0; i <= SAL_N_ELEMENTS(pItemInfos); i++ )<br>>> {<br>>> - pItemInfos[i - SCHATTR_START]._nSID = 0;<br>>> + pItemInfos[i]._nSID = 0;<br>>><br>>> etc. ;-) it could perhaps be re-factored like that if you want, but<br>
>> prolly best to compile/test it.<br>>><br>>> Anyhow - thanks for your work ! looking forward to what you work on<br>>> next - is there any area of LibreOffice you're particularly interested<br>
>> in contributing to ?<br>>><br>>> All the best,<br>>><br>>> Michael.<br>>><br>>> --<br>>> <a href="mailto:michael.meeks@novell.com">michael.meeks@novell.com</a> <><, Pseudo Engineer, itinerant idiot<br>
>><br>>><br></div>