]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFrameBox.h
last commit was incomplete... not sure how I managed this..
[lyx.git] / src / mathed / InsetMathFrameBox.h
index 445bc1468ecea6b4275030dc02db99e2dc586979..e6701177e9e0b3cf5ab56e1835778b509cd325ab 100644 (file)
@@ -24,7 +24,7 @@ public:
        ///
        InsetMathFrameBox();
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -34,7 +34,7 @@ public:
        ///
        mode_type currentMode() const { return TEXT_MODE; }
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        /// width of '[' in current font
        mutable int w_;
 };