]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_makeboxinset.h
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_makeboxinset.h
index b6e8a8d58266e432797f521a5ae3b12193974e2b..5ddf3618e38547fd018e225817bc4b23630914f9 100644 (file)
@@ -22,8 +22,6 @@ public:
        ///
        MathMakeboxInset();
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -36,6 +34,7 @@ public:
        ///
        void infoize(std::ostream & os) const;
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        /// width of '[' in current font
        mutable int w_;
 };