diff --git a/src/ChangeLog b/src/ChangeLog index 71540ee6dd..7a991f4567 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-02-20 Juergen Vigna + + * CutAndPaste.C: commenting out seemingly uneeded code. + 2002-02-19 Allan Rae * BufferView2.C (removeAutoInsets): fix remaining freed memory read. diff --git a/src/CutAndPaste.C b/src/CutAndPaste.C index 0a8e903612..8d0977bcb8 100644 --- a/src/CutAndPaste.C +++ b/src/CutAndPaste.C @@ -222,7 +222,8 @@ bool CutAndPaste::pasteSelection(Paragraph ** par, Paragraph ** endpar, // Paragraph * tmpbuf; Paragraph * tmppar = *par; int tmppos = pos; - + +#if 0 // There are two cases: cutbuffer only one paragraph or many if (!buf->next()) { // only within a paragraph @@ -251,7 +252,9 @@ bool CutAndPaste::pasteSelection(Paragraph ** par, Paragraph ** endpar, buf = tmpbuf; *endpar = tmppar->next(); pos = tmppos; - } else { + } else +#endif + { // many paragraphs // make a copy of the simple cut_buffer