X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathBox.h;h=b217dc57fa288778d1ad8c64b783082510cf0181;hb=358e7136f2af787e64cf7c2253d002351db580ad;hp=e3bd98277dc9476f4691eff0ac50ea850ad24f59;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/mathed/InsetMathBox.h b/src/mathed/InsetMathBox.h index e3bd98277d..b217dc57fa 100644 --- a/src/mathed/InsetMathBox.h +++ b/src/mathed/InsetMathBox.h @@ -20,18 +20,18 @@ namespace lyx { -class LyXFont; +class Font; /// Support for \\mbox class InsetMathBox : public InsetMathNest { public: /// - explicit InsetMathBox(std::string const & name); + explicit InsetMathBox(docstring const & name); /// mode_type currentMode() const { return TEXT_MODE; } /// - void metrics(MetricsInfo & mi, Dimension & dim) const; + bool metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; /// @@ -39,12 +39,12 @@ public: /// void normalize(NormalStream & ns) const; /// - void infoize(std::ostream & os) const; + void infoize(odocstream & os) const; private: - virtual std::auto_ptr doClone() const; + virtual std::auto_ptr doClone() const; /// - std::string name_; + docstring name_; };