]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathComment.h
* dynamic macros as described in http://1stein.org/download/dynmacro.pdf
[lyx.git] / src / mathed / InsetMathComment.h
index f084bb52b76acd465fd738956a19d52e645a7bc9..340d64ee75c1aa9d5ee74fcd5677395ecebd84db 100644 (file)
@@ -27,7 +27,7 @@ public:
        ///
        explicit InsetMathComment(docstring const &);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -48,7 +48,7 @@ public:
        ///
        void infoize(odocstream & os) const;
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 };
 
 } // namespace lyx