]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathAtom.h
A little cleanup of the layout files.
[lyx.git] / src / mathed / MathAtom.h
index 2d5247931b80d5c23fd3266fb4e40435d93a9270..7c00794e80f5d1b42e0ee2f3e3707243f9c0ead0 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -42,7 +42,7 @@ Andre'
 
 namespace lyx {
 
-class InsetBase;
+class Inset;
 class InsetMath;
 
 class MathAtom {
@@ -51,7 +51,7 @@ public:
        // std::containers
        MathAtom();
        /// the "real constructor"
-       explicit MathAtom(InsetBase * p);
+       explicit MathAtom(Inset * p);
        /// copy constructor, invokes nucleus_->clone()
        MathAtom(MathAtom const &);
        /// we really need to clean up
@@ -64,9 +64,6 @@ public:
        /// access to the inset
        InsetMath const * operator->() const { return nucleus_; }
 
-       /// width cache. Not nice...
-       //mutable int width_;
-
 private:
        ///
        InsetMath * nucleus_;