]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMakebox.h
* Inset and derivatives: insetName() -> name()
[lyx.git] / src / mathed / InsetMathMakebox.h
index 859701154f03b7ce2444f6616e9eee9f0398d87d..480f42d70a59f6083f2b5617fb87aab96eae72c4 100644 (file)
@@ -25,7 +25,7 @@ public:
        ///
        InsetMathMakebox();
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -37,7 +37,7 @@ public:
        ///
        void infoize(odocstream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        /// width of '[' in current font
        mutable int w_;
 };