X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathSqrt.h;h=bd8f46606659ac7e9713b6e222ba89ab9254759e;hb=b9765984c0e2d38b251b765cabfc9d23bf957a7a;hp=6c15f6bc4297bfce74960fa34f53033a79437114;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathSqrt.h b/src/mathed/InsetMathSqrt.h index 6c15f6bc42..bd8f466066 100644 --- a/src/mathed/InsetMathSqrt.h +++ b/src/mathed/InsetMathSqrt.h @@ -16,6 +16,9 @@ #include "InsetMathNest.h" +namespace lyx { + + /// \c InsetMathSqrt The square root inset. class InsetMathSqrt : public InsetMathNest { public: @@ -24,7 +27,7 @@ public: /// void draw(PainterInfo &, int x, int y) const; /// - void metrics(MetricsInfo & mi, Dimension & dim) const; + bool metrics(MetricsInfo & mi, Dimension & dim) const; /// void drawT(TextPainter &, int x, int y) const; /// @@ -41,8 +44,11 @@ public: /// void octave(OctaveStream &) const; /// - void mathmlize(MathMLStream &) const; + void mathmlize(MathStream &) const; private: - virtual std::auto_ptr doClone() const; + virtual std::auto_ptr doClone() const; }; + + +} // namespace lyx #endif