]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMakebox.h
* Inset and derivatives: insetName() -> name()
[lyx.git] / src / mathed / InsetMathMakebox.h
index fc8750ff1e69b17c956b1373fd9ac1215155c45c..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;
        ///
@@ -35,9 +35,9 @@ public:
        ///
        mode_type currentMode() const { return TEXT_MODE; }
        ///
-       void infoize(std::ostream & os) const;
+       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_;
 };