]> git.lyx.org Git - features.git/blobdiff - src/insets/insetert.C
Various warnings fixed, added preliminary read of old table format and
[features.git] / src / insets / insetert.C
index 795ca2c042dc54fcc1bba3c0fe4e049364f9b779..5b8fd7f2a16fef02368e796c401de0cac357ca5b 100644 (file)
@@ -30,11 +30,10 @@ InsetERT::InsetERT(Buffer * bf)
     LyXFont font(LyXFont::ALL_SANE);
     font.setLatex (LyXFont::ON);
     real_current_font = current_font = font;
-    LyXFont labelfont(LyXFont::ALL_SANE);
+    labelfont = LyXFont(LyXFont::ALL_SANE);
     labelfont.decSize();
     labelfont.decSize();
     labelfont.setColor(LColor::ert);
-    setLabelFont(labelfont);
     setAutoCollapse(false);
     setInsetName("ERT");
 }