]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_unknowninset.C
mathed uglyfication
[lyx.git] / src / mathed / math_unknowninset.C
index 6a126c1c28ecc24e984f9b65dcb7f5d6a94750e6..a4075d2b3d3dab47940b9ac954b0e2e6b7003d29 100644 (file)
@@ -1,3 +1,13 @@
+/**
+ * \file math_unknowninset.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #include <config.h>
 
 #include "math_unknowninset.h"
@@ -6,6 +16,8 @@
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
 
+
+using std::string;
 using std::auto_ptr;
 
 
@@ -32,13 +44,6 @@ void MathUnknownInset::setName(string const & name)
 }
 
 
-bool MathUnknownInset::match(MathAtom const & at) const
-{
-       MathUnknownInset const * q = at->asUnknownInset();
-       return q && name_ == q->name_;
-}
-
-
 void MathUnknownInset::normalize(NormalStream & os) const
 {
        os << "[unknown " << name_ << ']';