mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-25 09:35:39 +00:00
a microptimisation and a FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36894 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fbcbeb5130
commit
811335b50c
@ -77,8 +77,9 @@ TeXDeeper(Buffer const & buf,
|
|||||||
ParagraphList const & paragraphs = text.paragraphs();
|
ParagraphList const & paragraphs = text.paragraphs();
|
||||||
|
|
||||||
bool const force_plain_layout = text.inset().forcePlainLayout();
|
bool const force_plain_layout = text.inset().forcePlainLayout();
|
||||||
while (par != paragraphs.end() &&
|
depth_type const max_depth = pit->params().depth();
|
||||||
par->params().depth() == pit->params().depth()) {
|
// FIXME: move that to a for loop!
|
||||||
|
while (par != paragraphs.end() && par->params().depth() == max_depth) {
|
||||||
// FIXME This test should not be necessary.
|
// FIXME This test should not be necessary.
|
||||||
// We should perhaps issue an error if it is.
|
// We should perhaps issue an error if it is.
|
||||||
Layout const & style = force_plain_layout
|
Layout const & style = force_plain_layout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user