]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_exintinset.h
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_exintinset.h
index b1e11d8814fd0c9fe85b5f8d2e2104f0ddc20be5..8047fe21c86ae45656b19c2e92e67a87febc10cf 100644 (file)
@@ -27,8 +27,6 @@ public:
        ///
        explicit MathExIntInset(std::string const & name_);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void symbol(std::string const &);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
@@ -48,6 +46,7 @@ public:
        ///
        void write(WriteStream & os) const;
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
        bool hasScripts() const;