]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_textinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_textinset.h
index d276d16f70b25afc2ac4774ee5d700999f222417..bfef98ff4e8e6a8f68cfc39bf651c4fbbbf50f96 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 #ifndef MATH_TEXTINSET_H
 #define MATH_TEXTINSET_H
 
@@ -11,7 +12,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_