mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +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();
|
||||
|
||||
bool const force_plain_layout = text.inset().forcePlainLayout();
|
||||
while (par != paragraphs.end() &&
|
||||
par->params().depth() == pit->params().depth()) {
|
||||
depth_type const max_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.
|
||||
// We should perhaps issue an error if it is.
|
||||
Layout const & style = force_plain_layout
|
||||
|
Loading…
Reference in New Issue
Block a user