From 93d6ce915f06378e75499ffe6cd0f83d66ac79aa Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sun, 6 Nov 2011 17:16:54 +0000 Subject: [PATCH] Must not output anything between p.pushPosition() and p.popPosition(). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40140 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/tex2lyx/text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index 6d41e1be71..f9b14c6821 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -1009,7 +1009,7 @@ void parse_outer_box(Parser & p, ostream & os, unsigned flags, bool outer, // Eat '{' if (p.next_token().cat() == catBegin) p.get_token(); - eat_whitespace(p, os, parent_context, false); + p.skip_spaces(true); } } if (outer_type == "shaded") {