]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_stackrelinset.h
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_stackrelinset.h
index f53033a9788bd593d861b3b62dbddb38fbeeda8c..31f33f4c86595abf2e594720d9dce933ddeca3b4 100644 (file)
@@ -25,8 +25,6 @@ public:
        ///
        MathStackrelInset();
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -35,6 +33,8 @@ public:
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream &) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif