[Libreoffice] Dynamic arrays in chartitempool
rk.katana.steel at gmail.com
Sat Oct 16 06:30:47 PDT 2010
Okay I've now a beginning of a build of chart2 and I've added:
To the file, but the compilation says that the file is not found,
So where do one add the sal depends to the module? (or simply the includes)
On Oct 14, 2010 10:11 PM, "Michael Meeks" <michael.meeks at novell.com> wrote:
> Hi Rene,
> On Thu, 2010-10-14 at 19:05 +0200, René Kjellerup wrote:
>> I've looked through the calc's chart2 source and translated and spell
>> corrected a few comments in the view code
> Cool - nice work thanks for that; I pushed it.
>> in the ChartItemPool I've added the use of SAL_N_ELEMENTS(array) too
> Yep; the slight issue here though is that we need to re-arrange the
> code a bit. Your changes would work, but only if SCH_ATTR_START == 0 -
> since the range is offset otherwise. It would work if we had:
> - for( i = SCHATTR_START; i <= SCHATTR_END; i++ )
> + for( i = 0; i <= SAL_N_ELEMENTS(pItemInfos); i++ )
> - pItemInfos[i - SCHATTR_START]._nSID = 0;
> + pItemInfos[i]._nSID = 0;
> etc. ;-) it could perhaps be re-factored like that if you want, but
> prolly best to compile/test it.
> Anyhow - thanks for your work ! looking forward to what you work on
> next - is there any area of LibreOffice you're particularly interested
> in contributing to ?
> All the best,
> michael.meeks at novell.com <><, Pseudo Engineer, itinerant idiot
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LibreOffice