]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathAMSArray.h
Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
[lyx.git] / src / mathed / InsetMathAMSArray.h
index 4b885f9e39fade8abc824431451ca043568cfaf0..44c4b91c75d60ca5e6c5d112935f9a9e19ca5ce5 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.
  */
@@ -21,9 +21,9 @@ namespace lyx {
 class InsetMathAMSArray : public InsetMathGrid {
 public:
        ///
-       InsetMathAMSArray(std::string const & name, int m, int n);
+       InsetMathAMSArray(docstring const & name, int m, int n);
        ///
-       InsetMathAMSArray(std::string const & name);
+       InsetMathAMSArray(docstring const & name);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -34,25 +34,25 @@ public:
        InsetMathAMSArray const * asAMSArrayInset() const { return this; }
 
        ///
-       bool getStatus(LCursor & cur, FuncRequest const & cmd,
+       bool getStatus(Cursor & cur, FuncRequest const & cmd,
                FuncStatus & flag) const;
        ///
        void write(WriteStream & os) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
        ///
        void normalize(NormalStream &) const;
        ///
        void validate(LaTeXFeatures & features) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        char const * name_left() const;
        ///
        char const * name_right() const;
 
        ///
-       std::string name_;
+       docstring name_;
 };
 
 } // namespace lyx