mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Simplify.
This commit is contained in:
parent
5353cf90c0
commit
b0def618f8
@ -749,8 +749,9 @@ void InsetText::appendParagraphs(ParagraphList & plist)
|
|||||||
mergeParagraph(buffer().params(), pl,
|
mergeParagraph(buffer().params(), pl,
|
||||||
distance(pl.begin(), ins) - 1);
|
distance(pl.begin(), ins) - 1);
|
||||||
|
|
||||||
for_each(pit, plist.end(),
|
ParagraphList::iterator const pend = plist.end();
|
||||||
bind(&ParagraphList::push_back, ref(pl), _1));
|
for (; pit != pend; ++pit)
|
||||||
|
pl.push_back(*pit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user