]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSubstack.h
Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
[lyx.git] / src / mathed / InsetMathSubstack.h
index 6d279a6cee8eaed9d7fef115ad6a363c2ad72aa9..045366bf6c649d9f767857730317a9b01cfdc73c 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -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<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };
 
+
+
+} // namespace lyx
 #endif