]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sqrtinset.C
fix #1073
[lyx.git] / src / mathed / math_sqrtinset.C
index 08589b6af4299ffb46803398219c4813a098ebfe..93f08762ebaf247ef28d00e8bd451447ebd0f27d 100644 (file)
@@ -1,6 +1,3 @@
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include "math_sqrtinset.h"
 #include "math_mathmlstream.h"
@@ -20,7 +17,7 @@ MathInset * MathSqrtInset::clone() const
 }
 
 
-void MathSqrtInset::metrics(MathMetricsInfo & mi) const
+void MathSqrtInset::metrics(MetricsInfo & mi) const
 {
        cell(0).metrics(mi);
        dim_.a = cell(0).ascent()  + 4;
@@ -30,7 +27,7 @@ void MathSqrtInset::metrics(MathMetricsInfo & mi) const
 }
 
 
-void MathSqrtInset::draw(MathPainterInfo & pi, int x, int y) const
+void MathSqrtInset::draw(PainterInfo & pi, int x, int y) const
 {
        cell(0).draw(pi, x + 10, y);
        int const a = ascent();
@@ -75,18 +72,18 @@ void MathSqrtInset::normalize(NormalStream & os) const
        os << "[sqrt " << cell(0) << ']';
 }
 
-void MathSqrtInset::maplize(MapleStream & os) const
+void MathSqrtInset::maple(MapleStream & os) const
 {
        os << "sqrt(" << cell(0) << ')';
 }
 
-void MathSqrtInset::mathematicize(MathematicaStream & os) const
+void MathSqrtInset::mathematica(MathematicaStream & os) const
 {
        os << "Sqrt[" << cell(0) << ']';
 }
 
 
-void MathSqrtInset::octavize(OctaveStream & os) const
+void MathSqrtInset::octave(OctaveStream & os) const
 {
        os << "sqrt(" << cell(0) << ')';
 }