]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_liminset.h
Make Helge happy: no more crash on arrow up/down in math macro
[lyx.git] / src / mathed / math_liminset.h
index cd9d2579c53660e7c6c2490667a5201e1a9a6d8e..fb246ddea77a464cfff507836c4f9985a5406dc4 100644 (file)
@@ -23,8 +23,6 @@ public:
        ///
        MathLimInset(MathArray const & f, MathArray const & x, MathArray const & x0);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -39,6 +37,8 @@ public:
        void mathmlize(MathMLStream &) const;
        ///
        void write(WriteStream & os) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif