]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_exfuncinset.h
Make Helge happy: no more crash on arrow up/down in math macro
[lyx.git] / src / mathed / math_exfuncinset.h
index 222cb482cc8e0ca9efdf30e0f7ef8e3fb297f1f6..d999d9af0dd6d2e43dd40887ba88fa83030a9a2c 100644 (file)
@@ -28,8 +28,6 @@ public:
        ///
        MathExFuncInset(std::string const & name, MathArray const & ar);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -48,6 +46,7 @@ public:
        void octave(OctaveStream &) const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
        std::string const name_;
 };