]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXArrow.h
"fix" bug #3332 (plain text export depends on the menu language)
[lyx.git] / src / mathed / InsetMathXArrow.h
index 59794c3f6a6b960303c248372875031654a1b45e..f76758c0d9191fb8ff44e21a7e94eb07217b9307 100644 (file)
@@ -22,24 +22,24 @@ namespace lyx {
 class InsetMathXArrow : public InsetMathFracBase {
 public:
        ///
-       explicit InsetMathXArrow(std::string const & name);
+       explicit InsetMathXArrow(docstring const & name);
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
        void write(WriteStream & os) const;
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void normalize(NormalStream & os) const;
        ///
        void validate(LaTeXFeatures & features) const;
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        ///
        bool upper() const;
        ///
-       std::string const name_;
+       docstring const name_;
 };