Re: insettext patch

2001-07-03 Thread Juergen Vigna
On 03-Jul-2001 Lars Gullik Bjønnes wrote: > I belive that an > > lyx::Assert(pointer); > > should be added to all methods that take a pointer as arg and that > require this pointer to be != 0. Well yes I just think that in your case the pointer can only be NULL if we run out of memory, isn't

Re: insettext patch

2001-07-03 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | On 02-Jul-2001 Lars Gullik Bjønnes wrote: | | >| I'l like this patch to go in, Jürgen. | | Go for it please all I see seems very resonable! | | >| +if (!recursive && (cached_bview == lbv)) | >| return cached_text; | > | > should rea

Re: insettext patch

2001-07-03 Thread Juergen Vigna
On 02-Jul-2001 Lars Gullik Bjønnes wrote: >| I'l like this patch to go in, Jürgen. Go for it please all I see seems very resonable! >| +if (!recursive && (cached_bview == lbv)) >| return cached_text; > > should really not be needed to check cached_bview for != 0, we are > jus

Re: insettext patch

2001-07-02 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | I'l like this patch to go in, Jürgen. | | ? build | Index: src/insets/insettext.C | === | RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insettext.C,v | retrieving revision 1.