]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fontoldinset.h
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_fontoldinset.h
index 09a0df3baa81f83525968da10f957f2d7cc078a7..0db0702c1ecca171d0caeb8e4dcd38c9ca575ecd 100644 (file)
@@ -22,8 +22,6 @@ class MathFontOldInset : public MathNestInset {
 public:
        ///
        explicit MathFontOldInset(latexkeys const * key);
-       ///
-       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...
@@ -44,6 +42,7 @@ public:
        void infoize(std::ostream & os) const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        /// the font to be used on screen
        latexkeys const * key_;
 };