]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/CommandInset.h
* InsetMathHull:
[lyx.git] / src / mathed / CommandInset.h
index 28d46bce94736b0c7985d5981a3ae189706217b3..c1b8ffe714042bcaaea99dce07359d5c84528dd1 100644 (file)
@@ -27,7 +27,7 @@ public:
        ///
        explicit CommandInset(docstring const & name);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -44,7 +44,7 @@ public:
        bool isActive() const { return false; }
 
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 
        ///
        docstring name_;