]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathSupport.cpp
Move the inPixels(MetricsBase) help from Length to MetricsBase.
[features.git] / src / mathed / MathSupport.cpp
index 325d640915e4ea2500693451e38494d4096c2286..0e2dc81e7bcabfdb7f4809af1b7a25bfcc634236 100644 (file)
@@ -545,7 +545,7 @@ int mathed_font_x_height(FontInfo const & font)
 int mathed_mu(FontInfo const & font, double mu)
 {
        MetricsBase mb(nullptr, font);
-       return Length(mu, Length::MU).inPixels(mb);
+       return mb.inPixels(Length(mu, Length::MU));
 }
 
 int mathed_thinmuskip(FontInfo const & font) { return mathed_mu(font, 3.0); }