]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathCases.h
fix off-by-two drawing error
[lyx.git] / src / mathed / InsetMathCases.h
index b2d72f24708f73db0c7cc900d3f9572f91f3be14..a2a39fc6e62414cd09eefaea50d5ebe4f885e26b 100644 (file)
@@ -25,7 +25,9 @@ public:
        ///
        explicit InsetMathCases(row_type rows = 1u);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       ///
+       Dimension const dimension(BufferView const &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -45,7 +47,7 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };