]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathAtom.h
Remove hardcoded values
[lyx.git] / src / mathed / MathAtom.h
index 2d5247931b80d5c23fd3266fb4e40435d93a9270..b11d75da182b3da122fae03dfbee869d0411773f 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,16 +42,16 @@ Andre'
 
 namespace lyx {
 
-class InsetBase;
+class Inset;
 class InsetMath;
 
 class MathAtom {
 public:
        /// default constructor, object is useless, but we need it to put it into
-       // std::containers
+       /// std::containers
        MathAtom();
        /// the "real constructor"
-       explicit MathAtom(InsetBase * p);
+       explicit MathAtom(InsetMath * 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_;