]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_stringinset.h
Make Helge happy: no more crash on arrow up/down in math macro
[lyx.git] / src / mathed / math_stringinset.h
index bbbd670348893bdab95da87e4e4d0b26c0f48ac5..f233b5169fa6aee1e8328b147b80b95d2e81868b 100644 (file)
@@ -24,8 +24,6 @@ public:
        ///
        explicit MathStringInset(std::string const & s);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -48,6 +46,7 @@ public:
        void write(WriteStream & os) const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        /// the string
        std::string str_;
 };