]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathAtom.h
Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
[lyx.git] / src / mathed / MathAtom.h
index 757a9d33b986a3856d5ac376df7505f7786fe530..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.
  */
@@ -40,7 +40,9 @@ Andre'
 
 */
 
-class InsetBase;
+namespace lyx {
+
+class Inset;
 class InsetMath;
 
 class MathAtom {
@@ -49,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
@@ -62,12 +64,12 @@ public:
        /// access to the inset
        InsetMath const * operator->() const { return nucleus_; }
 
-       /// width cache. Not nice...
-       //mutable int width_;
-
 private:
        ///
        InsetMath * nucleus_;
 };
 
+
+} // namespace lyx
+
 #endif