]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathAtom.h
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / MathAtom.h
index 2d5247931b80d5c23fd3266fb4e40435d93a9270..90b7192570b8de34ba5a1edc5d4eb39a0a280cbe 100644 (file)
@@ -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_;