From 175973629b47938ae8180c6823da6732617b469e Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 6 Jan 2010 20:12:54 +0000 Subject: [PATCH] Move into proper scope. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32803 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/output_xhtml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output_xhtml.cpp b/src/output_xhtml.cpp index 963bd490ca..505912d2a7 100644 --- a/src/output_xhtml.cpp +++ b/src/output_xhtml.cpp @@ -672,7 +672,6 @@ ParagraphList::const_iterator makeEnvironmentHtml(Buffer const & buf, closeItemTag(xs, *lastlay); lastlay = 0; } - bool const labelfirst = style.htmllabelfirst(); if (isNormalEnv(style)) { // in this case, we print the label only for the first // paragraph (as in a theorem). @@ -688,6 +687,7 @@ ParagraphList::const_iterator makeEnvironmentHtml(Buffer const & buf, xs.cr(); } } else { // some kind of list + bool const labelfirst = style.htmllabelfirst(); if (!labelfirst) openItemTag(xs, style); if (style.labeltype == LABEL_MANUAL -- 2.39.2