]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSqrt.h
A little cleanup of the layout files.
[lyx.git] / src / mathed / InsetMathSqrt.h
index bd8f46606659ac7e9713b6e222ba89ab9254759e..7fd6452e6aaac1a639e846c88afceb9bfe619dad 100644 (file)
@@ -5,7 +5,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \author Alejandro Aguilar Sierra
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -27,7 +27,7 @@ public:
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void drawT(TextPainter &, int x, int y) const;
        ///
@@ -46,7 +46,7 @@ public:
        ///
        void mathmlize(MathStream &) const;
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 };