]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_commentinset.h
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_commentinset.h
index b08df8860c20c2dc47fd9fa16b248a454e106346..509ae0c6610b6d8ea48ebb864dea41377c345028 100644 (file)
@@ -25,8 +25,6 @@ public:
        ///
        explicit MathCommentInset(std::string const &);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -47,5 +45,7 @@ public:
        void mathmlize(MathMLStream &) const;
        ///
        void infoize(std::ostream & os) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 #endif