Properly fix bug #9598

Do not output \\par at the end of environments with size change if the
environment cosinsts of only one par.
This commit is contained in:
Juergen Spitzmueller 2015-06-09 08:18:19 +02:00
parent 8e671a5cdc
commit 4feec2ef4b

View File

@ -865,7 +865,7 @@ void TeXOnePar(Buffer const & buf,
if (style.resfont.size() != font.fontInfo().size()
&& (nextpar || maintext
|| (text.inset().getLayout().isMultiPar()
|| (text.inset().paragraphs().size() > 1
&& text.inset().lyxCode() != CELL_CODE))
&& !is_command) {
os << '{';