]> git.lyx.org Git - lyx.git/blobdiff - src/Text2.cpp
Fixme comment.
[lyx.git] / src / Text2.cpp
index de328e3e2a4a32537f17a283aa064c69e34eded3..ea534752671efe104b520f33b9db8469934b2565 100644 (file)
@@ -117,13 +117,7 @@ FontInfo Text::labelFont(Buffer const & buffer, Paragraph const & par) const
                // In case the default family has been customized
                if (layout.labelfont.family() == INHERIT_FAMILY)
                        lf.setFamily(buffer.params().getFont().fontInfo().family());
-               // FIXME As above....
-               InsetCollapsable const * icp = par.inInset().asInsetCollapsable();
-               if (!icp)
-                       return lf;
-               FontInfo icf = icp->getLayout().labelfont();
-               icf.realize(lf);
-               return icf;
+               return lf;
        }
 
        FontInfo font = layout.labelfont;