]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.cpp
Remove dead code + whitespace
[lyx.git] / src / insets / InsetLayout.cpp
index 77294856d23c86c33aa74129c50dd91e16724439..6f1a02fdc1d0894f78843190f020a6994c14e5b7 100644 (file)
@@ -34,14 +34,14 @@ namespace lyx {
 InsetLayout::InsetLayout() :
        name_(from_ascii("undefined")), lyxtype_(STANDARD),
        labelstring_(from_ascii("UNDEFINED")), contentaslabel_(false),
-       decoration_(DEFAULT), latextype_(NOLATEXTYPE), font_(sane_font), 
+       decoration_(DEFAULT), latextype_(NOLATEXTYPE), font_(inherit_font), 
        labelfont_(sane_font), bgcolor_(Color_error), 
        htmlforcecss_ (false), htmlisblock_(true),
        multipar_(true), custompars_(true), forceplain_(false), 
        passthru_(false), parbreakisnewline_(false), freespacing_(false), 
        keepempty_(false), forceltr_(false), 
        needprotect_(false), intoc_(false), spellcheck_(true), 
-       resetsfont_(true), display_(true), forcelocalfontswitch_(false)
+       resetsfont_(false), display_(true), forcelocalfontswitch_(false)
 { 
        labelfont_.setColor(Color_error);
 }