mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* CutAndPaste.C (cutSelection): another layout settings forgotten.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3684 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3173a2ee45
commit
9069560786
@ -1,3 +1,7 @@
|
||||
2002-03-07 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* CutAndPaste.C (cutSelection): another layout settings forgotten.
|
||||
|
||||
2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
|
||||
|
||||
* paragraph.C (breakParagraph): use default layout not layout of
|
||||
|
@ -92,8 +92,10 @@ bool CutAndPaste::cutSelection(Paragraph * startpar, Paragraph ** endpar,
|
||||
|
||||
if (!(*endpar) || startpar == (*endpar)) {
|
||||
// only within one paragraph
|
||||
if (realcut)
|
||||
if (realcut) {
|
||||
buf = new Paragraph;
|
||||
buf->layout(startpar->layout());
|
||||
}
|
||||
pos_type i = start;
|
||||
if (end > startpar->size())
|
||||
end = startpar->size();
|
||||
|
Loading…
Reference in New Issue
Block a user