X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathEnv.h;h=7d73a875d52edd735e93de9b1b462397c506776f;hb=a746aa52146257c0e7a2d60123f63dccad5b2751;hp=a15c30e4f46d3b87277eae09c3d2d5a183623d80;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/mathed/InsetMathEnv.h b/src/mathed/InsetMathEnv.h index a15c30e4f4..7d73a875d5 100644 --- a/src/mathed/InsetMathEnv.h +++ b/src/mathed/InsetMathEnv.h @@ -24,7 +24,7 @@ namespace lyx { class InsetMathEnv : public InsetMathNest { public: /// - InsetMathEnv(std::string const & name_); + InsetMathEnv(docstring const & name_); /// void draw(PainterInfo &, int x, int y) const; /// @@ -32,14 +32,14 @@ public: /// write normalized content void normalize(NormalStream & ns) const; /// - void metrics(MetricsInfo & mi, Dimension & dim) const; + bool metrics(MetricsInfo & mi, Dimension & dim) 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; /// name of that environment - std::string name_; + docstring name_; };