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