]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_unknowninset.C
Fix.
[lyx.git] / src / mathed / math_unknowninset.C
index fac5abeb22b64d48e2cf6f30013881aeb3f8bcd8..b562092460f27afb9c8c826862e0bf522a7dc34b 100644 (file)
@@ -1,8 +1,5 @@
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include "math_unknowninset.h"
 #include "math_support.h"
@@ -33,9 +30,9 @@ void MathUnknownInset::setName(string const & name)
 }
 
 
-bool MathUnknownInset::match(MathInset * p) const
+bool MathUnknownInset::match(MathAtom const & at) const
 {
-       MathUnknownInset const * q = p->asUnknownInset();
+       MathUnknownInset const * q = at->asUnknownInset();
        return q && name_ == q->name_;
 }
 
@@ -73,12 +70,12 @@ bool MathUnknownInset::final() const
 }
 
 
-void MathUnknownInset::maplize(MapleStream & os) const
+void MathUnknownInset::maple(MapleStream & os) const
 {
        os << name_;
 }
 
-void MathUnknownInset::mathematicize(MathematicaStream & os) const
+void MathUnknownInset::mathematica(MathematicaStream & os) const
 {
        os << name_;
 }
@@ -90,7 +87,7 @@ void MathUnknownInset::mathmlize(MathMLStream & os) const
 }
 
 
-void MathUnknownInset::octavize(OctaveStream & os) const
+void MathUnknownInset::octave(OctaveStream & os) const
 {
        os << name_;
 }