On 16-Jan-2002 bugzilla-daemon wrote:

> ------- Additional Comments From [EMAIL PROTECTED]  2002-01-17 12:48 -------
> I think I fixed it. The problem was that the insetowner of the newly pasted
> paragraph was not set to the owner of the paragraphs it got pasted in. The fix
> is a one-liner
> 
> --- src/CutAndPaste.C   2001/12/28 13:26:48     1.44
> +++ src/CutAndPaste.C   2002/01/16 23:44:04
> @@ -286,6 +286,8 @@
>                                         }
>                                 }
>                         }
> +                       // set the inset owner of this paragraph
> +                       tmpbuf->setInsetOwner((*par)->inInset());
>                         tmpbuf = tmpbuf->next();
>                 }
> 
> 
> Juergen, does that look reasonable? I'd like to be sure before closing it.

This seems very resonable, I just think you should put the setInsetOwner
call immediately after the "while(tmpbuf) {" instead at the end.

          Jürgen

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

manic-depressive, adj.:
        Easy glum, easy glow.

Reply via email to