]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_boxinset.h
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_boxinset.h
index eef210737b4197dda787f48f67e676b32c7fa365..df9bcd6cff566150af7de2c64c57f5f4620fe020 100644 (file)
@@ -26,8 +26,6 @@ public:
        ///
        explicit MathBoxInset(std::string const & name);
        ///
-       std::auto_ptr<InsetBase> clone() const;
-       ///
        mode_type currentMode() const { return TEXT_MODE; }
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
@@ -41,6 +39,7 @@ public:
        void infoize(std::ostream & os) const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
        std::string name_;
 };