]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_parboxinset.C
fix #1073
[lyx.git] / src / mathed / math_parboxinset.C
index 5a4ad25dd64baa0b5f94c2fbd27e067f9c5c2cfc..f8a3254e0ea38f8bf80d455eaf1c97fea35512f2 100644 (file)
@@ -33,18 +33,18 @@ void MathParboxInset::setWidth(string const & w)
 }
 
 
-void MathParboxInset::metrics(MathMetricsInfo & mi) const
+void MathParboxInset::metrics(MetricsInfo & mi) const
 {
-       MathFontSetChanger dummy1(mi.base, "textnormal");
-       MathWidthChanger dummy2(mi.base, lyx_width_);
+       FontSetChanger dummy1(mi.base, "textnormal");
+       WidthChanger dummy2(mi.base, lyx_width_);
        MathTextInset::metrics(mi);
        metricsMarkers2();
 }
 
 
-void MathParboxInset::draw(MathPainterInfo & pi, int x, int y) const
+void MathParboxInset::draw(PainterInfo & pi, int x, int y) const
 {
-       MathFontSetChanger dummy(pi.base, "textnormal");
+       FontSetChanger dummy(pi.base, "textnormal");
        MathTextInset::draw(pi, x + 1, y);
        drawMarkers2(pi, x, y);
 }