These forms:

        add(boost::shared_ptr<FormDocument>(new FormDocument(lv, this)));
        add(boost::shared_ptr<FormMathsPanel>(new FormMathsPanel(lv, this)));
        add(boost::shared_ptr<FormParagraph>(new FormParagraph(lv, this)));
        add(boost::shared_ptr<FormPreferences>(new FormPreferences(lv, this)));
        add(boost::shared_ptr<FormTabular>(new FormTabular(lv, this)));

Makes this difference:

[larsbj@trylle build]$ size src/lyx
   text    data     bss     dec     hex filename
2828225  454420   47372 3330017  32cfe1 src/lyx
3220806  493768   47660 3762234  39683a src/lyx


That is 430k ... 

-- 
        Lgb


Reply via email to