mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
Try to comment out the seemingly unneeded (and wrong) code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3572 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1b85ecfa3d
commit
6f673aed8b
@ -1,3 +1,7 @@
|
||||
2002-02-20 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* CutAndPaste.C: commenting out seemingly uneeded code.
|
||||
|
||||
2002-02-19 Allan Rae <rae@lyx.org>
|
||||
|
||||
* BufferView2.C (removeAutoInsets): fix remaining freed memory read.
|
||||
|
@ -223,6 +223,7 @@ bool CutAndPaste::pasteSelection(Paragraph ** par, Paragraph ** endpar,
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user