]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_xarrowinset.h
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_xarrowinset.h
index a828e3f5f6c79c90324982b3572e34f6a837c053..dd0a5b1e24a49b55ff5882e97124f0325f5c0826 100644 (file)
@@ -21,8 +21,6 @@ public:
        ///
        explicit MathXArrowInset(std::string const & name);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
        void write(WriteStream & os) const;
@@ -32,6 +30,7 @@ public:
        void normalize(NormalStream & os) const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
        bool upper() const;
        ///