]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathHull.cpp
Fix creationCode() of GuiPrintNomencl
[lyx.git] / src / mathed / InsetMathHull.cpp
index 4e29d4ce242e75466f8eb9067b6313cce92031c5..0a7ddd6d005858caa476ba2c5e7dea6899f102bf 100644 (file)
@@ -570,13 +570,6 @@ void InsetMathHull::metrics(MetricsInfo & mi, Dimension & dim) const
 
        // reserve some space for marker.
        dim.wid += 2;
-
-       // make it at least as high as the current font
-       int asc = 0;
-       int des = 0;
-       math_font_max_dim(mi.base.font, asc, des);
-       dim.asc = max(dim.asc, asc);
-       dim.des = max(dim.des, des);
 }