mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Hopefully fixed the reported memory bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@762 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
40fe3a66a2
commit
e33924c4eb
@ -1,5 +1,7 @@
|
||||
2000-05-22 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* src/CutAndPaste.C: hopefully fixed memory the problem defenitively!
|
||||
|
||||
* src/tabular.C (OldFormatRead): added \end_deeper to the end LyXTable
|
||||
end markers!
|
||||
|
||||
|
@ -125,8 +125,10 @@ bool CutAndPaste::cutSelection(LyXParagraph * startpar, LyXParagraph ** endpar,
|
||||
if (doclear)
|
||||
startpar->Next()->ClearParagraph();
|
||||
if (startpar->FirstPhysicalPar()->HasSameLayout(startpar->Next()) ||
|
||||
!startpar->Next()->Last())
|
||||
!startpar->Next()->Last()) {
|
||||
startpar->ParFromPos(start)->PasteParagraph();
|
||||
(*endpar) = startpar; // this because endpar gets deleted here!
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user