]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMakebox.h
"fix" bug #3332 (plain text export depends on the menu language)
[lyx.git] / src / mathed / InsetMathMakebox.h
index 840060ad747735525ac674e198e741bf78246001..480f42d70a59f6083f2b5617fb87aab96eae72c4 100644 (file)
@@ -14,6 +14,9 @@
 
 #include "InsetMathNest.h"
 
+
+namespace lyx {
+
 /// Extra nesting: \\makebox.
 // consolidate with InsetMathFrameBox?
 
@@ -22,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;
        ///
@@ -32,11 +35,14 @@ 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_;
 };
 
+
+
+} // namespace lyx
 #endif