]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathNumber.h
* dynamic macros as described in http://1stein.org/download/dynmacro.pdf
[lyx.git] / src / mathed / InsetMathNumber.h
index e9142256a39329e35e7e2516be2c0f44c9d4f77a..81cbc2e30f097104d8a3ea643c6c343cd6004897 100644 (file)
@@ -26,7 +26,7 @@ public:
        ///
        explicit InsetMathNumber(docstring const & s);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
@@ -48,7 +48,7 @@ public:
        void write(WriteStream & os) const;
 
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        /// the number as string
        docstring str_;
 };