]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fracinset.h
Make Helge happy: no more crash on arrow up/down in math macro
[lyx.git] / src / mathed / math_fracinset.h
index b41ef948bb4f9860c319d434f469efab11a00d61..2707fe8cc0c9d4b1034f46695fd9848660e5fec9 100644 (file)
@@ -22,8 +22,6 @@ public:
        ///
        explicit MathFracInset(bool atop = false);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
@@ -36,7 +34,7 @@ public:
        /// identifies FracInsets
        MathFracInset const * asFracInset() const;
        ///
-       string name() const;
+       std::string name() const;
 
        ///
        void write(WriteStream & os) const;
@@ -49,8 +47,9 @@ public:
        ///
        void mathmlize(MathMLStream &) const;
 public:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
-       const bool atop_;
+       bool const atop_;
 };
 
 #endif