]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathTabular.cpp
RefChanger
[lyx.git] / src / mathed / InsetMathTabular.cpp
index 2c814a38c6511ecf654ef5c693dd008dbeca9d29..40cf58d37c58920627bb4fc20e220c14d61469ec 100644 (file)
@@ -43,7 +43,7 @@ Inset * InsetMathTabular::clone() const
 
 void InsetMathTabular::metrics(MetricsInfo & mi, Dimension & dim) const
 {
-       FontSetChanger dummy(mi.base, "textnormal");
+       Changer dummy = mi.base.changeFontSet("textnormal");
        InsetMathGrid::metrics(mi, dim);
        dim.wid += 6;
 }
@@ -59,7 +59,7 @@ Dimension const InsetMathTabular::dimension(BufferView const & bv) const
 
 void InsetMathTabular::draw(PainterInfo & pi, int x, int y) const
 {
-       FontSetChanger dummy(pi.base, "textnormal");
+       Changer dummy = pi.base.changeFontSet("textnormal");
        InsetMathGrid::drawWithMargin(pi, x, y, 4, 2);
 }