Re: rp - r24297 - abiword/branches/gsoc2008styles/src/text/ptbl/xp

From: Hubert Figuiere <hfiguiere_at_teaser.fr>
Date: Thu Jun 26 2008 - 16:34:13 CEST

On Thu, 2008-06-26 at 06:07 +0200, cvs@abisource.com wrote:
> + getAllProperties ( (UT_Vector *) &vTheseProps, (UT_sint32) 0);
> + getBasedOn()-> getAllProperties( (UT_Vector *) &vBasedOnProps,
> (UT_sint32) 1);

Please don't do that kind of cast. IT IS VERY BAD! It is just breaking
the type safety if not doing WORSE.

Better fix getAllProperties() to use the proper vector type, but then it
might be opening a can of worm.

Hub
Received on Thu Jun 26 16:34:00 2008

This archive was generated by hypermail 2.1.8 : Thu Jun 26 2008 - 16:34:00 CEST