]> git.lyx.org Git - features.git/commitdiff
remove double initilization
authorAndré Pönitz <poenitz@gmx.net>
Tue, 18 Dec 2001 15:29:23 +0000 (15:29 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Tue, 18 Dec 2001 15:29:23 +0000 (15:29 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3242 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_support.C

index f3d5a0b3d5c9725bc827ad4df219070f89446a2f..3f6ee22868744fd2f000d5c0db75f03f6aa77e69 100644 (file)
@@ -85,12 +85,7 @@ enum MathFont {
 
 void mathed_init_fonts()
 {
-       MathFonts = new LyXFont[FONT_NUM]; //DEC cxx cannot initialize all fonts
-       //at once (JMarc) rc
-
-       for (int i = 0 ; i < FONT_NUM ; ++i) {
-               MathFonts[i] = LyXFont(LyXFont::ALL_SANE);
-       }
+       MathFonts = new LyXFont[FONT_NUM];
 
        MathFonts[FONT_IT].setShape(LyXFont::ITALIC_SHAPE);