]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_matrixinset.h
Make Helge happy: no more crash on arrow up/down in math macro
[lyx.git] / src / mathed / math_matrixinset.h
index 50d7baccd3e5a458138908795bc52277ca3bb5aa..43b58cba337379100cc16252e1d69b8fbb0246e9 100644 (file)
 class MathMatrixInset : public MathGridInset {
 public:
        ///
-       MathMatrixInset(MathGridInset const &);
+       explicit MathMatrixInset(MathGridInset const &);
        ///
-       MathMatrixInset(string const & str);
-       ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       explicit MathMatrixInset(std::string const & str);
        /// identifies MatrixInsets
        MathMatrixInset const * asMatrixInset() const { return this; }
 
@@ -40,6 +38,8 @@ public:
        void mathmlize(MathMLStream &) const;
        ///
        void octave(OctaveStream &) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif