X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathAtom.h;h=b11d75da182b3da122fae03dfbee869d0411773f;hb=2de30c62f8d671a8c8d4d52a6a7310e2c5ca84de;hp=2d5247931b80d5c23fd3266fb4e40435d93a9270;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/mathed/MathAtom.h b/src/mathed/MathAtom.h index 2d5247931b..b11d75da18 100644 --- a/src/mathed/MathAtom.h +++ b/src/mathed/MathAtom.h @@ -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_;