]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMatrix.h
Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
[lyx.git] / src / mathed / InsetMathMatrix.h
index e8c542130cf9e5500beaff4c0d05ef75475feb26..b44008bac4cac69ab9b36760321353ec3533a940 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 {
+
+
 // "shortcut" for DelimInset("(",ArrayInset,")")
 
 class InsetMathMatrix : public InsetMathGrid {
@@ -22,7 +25,7 @@ public:
        ///
        explicit InsetMathMatrix(InsetMathGrid const &);
        ///
-       explicit InsetMathMatrix(std::string const & str);
+       explicit InsetMathMatrix(docstring const & str);
        /// identifies MatrixInsets
        InsetMathMatrix const * asMatrixInset() const { return this; }
 
@@ -37,11 +40,14 @@ public:
        ///
        void mathematica(MathematicaStream &) const;
        ///
-       void mathmlize(MathMLStream &) const;
+       void mathmlize(MathStream &) const;
        ///
        void octave(OctaveStream &) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };
 
+
+
+} // namespace lyx
 #endif