On 02-May-2000 Angus Leeming wrote:
> Sorry. That should be:
> 
> void LyXTable::cellstruct::setBuffer(Buffer * buf)
> {
>       if (inset) delete inset;
>       inset = new InsetText(buf);
> }

BTW if you change the buffer you loose all text you inserted in the inset,
also you init the cellstruct without having set the inset as now I don't
have a initializer for buf in the .h file but you have to have buffer as
parameter.

    Jürgen

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen Vigna                      E-Mail: [EMAIL PROTECTED]
Italienallee 13/N                     Tel:    +39-0471-450260
I-39100 Bozen                         Fax:    +39-0471-450296
ITALY                                 Web:    http://www.sad.it/~jug

Make no little plans; they have no magic to stir men's blood.
                -- Daniel Hudson Burnham

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Reply via email to