]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_casesinset.h
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / mathed / math_casesinset.h
index 9ee1fa1a8a69b6d0e2d131088593f9648f21b9f8..cb93c6c41a088148f49aae40795941ad76226c4d 100644 (file)
@@ -22,8 +22,6 @@ public:
        ///
        explicit MathCasesInset(row_type rows = 1u);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -38,6 +36,8 @@ public:
        void write(WriteStream & os) const;
        ///
        void validate(LaTeXFeatures & features) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif