]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fontinset.C
fix #1073
[lyx.git] / src / mathed / math_fontinset.C
index 9a288afd7364f98b85e091426d242cbb0e2f802c..a73dbb78fffa906a6f64bf7c2149ac443f943799 100644 (file)
@@ -33,17 +33,17 @@ MathInset::mode_type MathFontInset::currentMode() const
 }
 
 
-void MathFontInset::metrics(MathMetricsInfo & mi) const
+void MathFontInset::metrics(MetricsInfo & mi) const
 {
-       MathFontSetChanger dummy(mi.base, key_->name.c_str());
+       FontSetChanger dummy(mi.base, key_->name.c_str());
        dim_ = cell(0).metrics(mi);
        metricsMarkers();
 }
 
 
-void MathFontInset::draw(MathPainterInfo & pi, int x, int y) const
+void MathFontInset::draw(PainterInfo & pi, int x, int y) const
 {
-       MathFontSetChanger dummy(pi.base, key_->name.c_str());
+       FontSetChanger dummy(pi.base, key_->name.c_str());
        cell(0).draw(pi, x + 1, y);
        drawMarkers(pi, x, y);
 }