]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_unknowninset.C
Fix reading of math macros
[lyx.git] / src / mathed / math_unknowninset.C
index ebc37b4c2288b7490e33d8f828ce29b65077c262..c54562514ae2df051c973fe884792d34892a3c9a 100644 (file)
@@ -33,9 +33,9 @@ void MathUnknownInset::setName(string const & 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_;
 }