]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_textinset.h
more IU
[lyx.git] / src / mathed / math_textinset.h
index d276d16f70b25afc2ac4774ee5d700999f222417..cd673f5362cdb58b4950c057971ba1aa5a747442 100644 (file)
@@ -1,3 +1,14 @@
+// -*- C++ -*-
+/**
+ * \file math_textinset.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef MATH_TEXTINSET_H
 #define MATH_TEXTINSET_H
 
@@ -11,7 +22,7 @@ public:
        ///
        MathTextInset();
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        /// get cursor position
        void getPos(idx_type idx, pos_type pos, int & x, int & y) const;
        /// this stores metrics information in cache_