Wow... a simple symbol mistake of the brain, all the includes seemed to have hxx extension so....
It complies now pulling a diff together. On Oct 16, 2010 3:30 PM, "René Kjellerup" <rk.katana.st...@gmail.com> wrote: > Okay I've now a beginning of a build of chart2 and I've added: > #include <sal/macros.h> > 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.me...@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. >> >> -- >> michael.me...@novell.com <><, Pseudo Engineer, itinerant idiot >> >>
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice