]> 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 9776de4f75c7b5b7bf0644de4ee8db499f72e1cf..509ae0c6610b6d8ea48ebb864dea41377c345028 100644 (file)
@@ -23,9 +23,7 @@ public:
        ///
        MathCommentInset();
        ///
-       explicit MathCommentInset(string const &);
-       ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       explicit MathCommentInset(std::string const &);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) 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