]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathKern.cpp
Get rid of Inset::setPosCache
[lyx.git] / src / mathed / InsetMathKern.cpp
index eb445c382bae8b23d3f7ccad4d36f95fec14f27a..71723b99561f2369340dfee1f35b38c208d944e3 100644 (file)
@@ -49,11 +49,7 @@ void InsetMathKern::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        dim.asc = 0;
        dim.des = 0;
-       // match em value used in mathed_*muskip
-       FontInfo const oldfont = mi.base.font;
-       mi.base.font.setFamily(SYMBOL_FAMILY);
        dim.wid = wid_.inPixels(mi.base);
-       mi.base.font = oldfont;
 }