X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathXArrow.h;h=f76758c0d9191fb8ff44e21a7e94eb07217b9307;hb=a746aa52146257c0e7a2d60123f63dccad5b2751;hp=59794c3f6a6b960303c248372875031654a1b45e;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/mathed/InsetMathXArrow.h b/src/mathed/InsetMathXArrow.h index 59794c3f6a..f76758c0d9 100644 --- a/src/mathed/InsetMathXArrow.h +++ b/src/mathed/InsetMathXArrow.h @@ -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 doClone() const; + virtual std::auto_ptr doClone() const; /// bool upper() const; /// - std::string const name_; + docstring const name_; };