]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathCases.h
A little cleanup of the layout files.
[lyx.git] / src / mathed / InsetMathCases.h
index 41616b93e36464f05b09367718f19943c0f30288..f518d065981653308e1b2c10bbfdf3ebeaf0fef7 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -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<Inset> doClone() const;
+       virtual Inset * clone() const;
 };