]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_unknowninset.C
small up/down tweaking
[lyx.git] / src / mathed / math_unknowninset.C
index 5bebcf321d100fcbc884fd074a29a284e55815d6..c54562514ae2df051c973fe884792d34892a3c9a 100644 (file)
@@ -27,15 +27,15 @@ string MathUnknownInset::name() const
 }
 
 
-void MathUnknownInset::setName(string const & name) const
+void MathUnknownInset::setName(string const & name)
 {
        name_ = name;
 }
 
 
-bool MathUnknownInset::match(MathInset const * p) const
+bool MathUnknownInset::match(MathAtom const & at) const
 {
-       MathUnknownInset const * q = p->asUnknownInset();
+       MathUnknownInset const * q = at->asUnknownInset();
        return q && name_ == q->name_;
 }
 
@@ -61,7 +61,7 @@ void MathUnknownInset::draw(MathPainterInfo & pi, int x, int y) const
 }
 
 
-void MathUnknownInset::finalize() const
+void MathUnknownInset::finalize()
 {
        final_ = true;
 }