]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_biginset.h
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_biginset.h
index df6899e234ff7fb78bf20c30a96b88a6055a2ab3..f9547cc469e848e58f9ab8b32db861eac4580f09 100644 (file)
@@ -22,8 +22,6 @@ public:
        ///
        MathBigInset(std::string const & name, std::string const & delim);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -33,6 +31,7 @@ public:
        void normalize(NormalStream & os) const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
        size_type size() const;
        ///