]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_parser.C
Fix reading of mathrm etc as reported bei Norbert
[features.git] / src / mathed / math_parser.C
index a37fbeb04737ea1ef203469463d43dfde0a3906b..21a451fa8bab007d8af02977a2438e1400ddbb0e 100644 (file)
@@ -942,11 +942,8 @@ void Parser::parse_into(MathArray & array, unsigned flags, MathTextCodes code)
                                        //      theCatcode[' '] = catLetter;    
                                        //}
 
-                                       MathTextCodes t = static_cast<MathTextCodes>(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<MathTextCodes>(l->id));
                                        array.push_back(ar);
 
                                        // undo catcode changes