X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathSubstack.h;h=f8226b05c432712d7d5f1dcc2fdd24adaa9084bb;hb=58ab972f714309aa87e7d956ceda00e18337875f;hp=6d279a6cee8eaed9d7fef115ad6a363c2ad72aa9;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathSubstack.h b/src/mathed/InsetMathSubstack.h index 6d279a6cee..f8226b05c4 100644 --- a/src/mathed/InsetMathSubstack.h +++ b/src/mathed/InsetMathSubstack.h @@ -15,6 +15,9 @@ #include "InsetMathGrid.h" +namespace lyx { + + /// support for AMS's \\substack class InsetMathSubstack : public InsetMathGrid { @@ -29,10 +32,10 @@ public: InsetMathSubstack const * asSubstackInset() const { return this; } /// - bool getStatus(LCursor & cur, FuncRequest const & cmd, + bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus & flag) const; /// - void infoize(std::ostream & os) const; + void infoize(odocstream & os) const; /// void write(WriteStream & os) const; /// @@ -42,7 +45,10 @@ public: /// void validate(LaTeXFeatures & features) const; private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; }; + + +} // namespace lyx #endif