]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fontoldinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_fontoldinset.h
index dc168e50a9bb0f2992526d40988714ec77d59ac6..36110e8fae8842e3f77351b10932def1197aaff0 100644 (file)
@@ -18,7 +18,7 @@ public:
        ///
        explicit MathFontOldInset(latexkeys const * key);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        /// we are in text mode.
        mode_type currentMode() const { return TEXT_MODE; }
        /// we write extra braces in any case...