From 60ccb16240325c9b7fa8e986a3e12a8407d97322 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Wed, 31 Oct 2001 09:54:47 +0000 Subject: [PATCH] Fix reading of mathrm etc as reported bei Norbert git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2947 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_parser.C | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/mathed/math_parser.C b/src/mathed/math_parser.C index a37fbeb047..21a451fa8b 100644 --- a/src/mathed/math_parser.C +++ b/src/mathed/math_parser.C @@ -942,11 +942,8 @@ void Parser::parse_into(MathArray & array, unsigned flags, MathTextCodes code) // theCatcode[' '] = catLetter; //} - MathTextCodes t = static_cast(l->id); MathArray ar; - parse_into(ar, FLAG_ITEM, t); - for (MathArray::iterator it = ar.begin(); it != ar.end(); ++it) - (*it)->handleFont(t); + parse_into(ar, FLAG_ITEM, static_cast(l->id)); array.push_back(ar); // undo catcode changes -- 2.39.2