]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetERT.cpp
pimpl not needed here
[lyx.git] / src / insets / InsetERT.cpp
index a94d3729c044118c0275c489893671bb6ba4c4c2..650b7811c9f845831a13f168d34a9086cdda5320 100644 (file)
@@ -52,7 +52,6 @@ using std::string;
 void InsetERT::init()
 {
        setButtonLabel();
-
        // FIXME: what to do with those?
        //text_.current_font.setLanguage(latex_language);
        //text_.real_current_font.setLanguage(latex_language);
@@ -62,7 +61,6 @@ void InsetERT::init()
 InsetERT::InsetERT(BufferParams const & bp, CollapseStatus status)
        : InsetCollapsable(bp, status)
 {
-       setLayout(bp);
        init();
 }