]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_lefteqninset.h
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_lefteqninset.h
index 71a5ae71ec063f422640e42377e5d71960b45586..d5fe40ee6b2ffc05daa3cae46eb8b4ca4d0a8176 100644 (file)
@@ -22,8 +22,6 @@ public:
        ///
        MathLefteqnInset();
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        std::string name() const;
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
@@ -31,5 +29,7 @@ public:
        void draw(PainterInfo & pi, int x, int y) const;
        ///
        void infoize(std::ostream & os) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 #endif