]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macroarg.h
Fix math cursor positioning bug
[lyx.git] / src / mathed / math_macroarg.h
index d7d763d878a1e74eb949921b80b8e20c2ed93afc..0db549d7abe84662ab89c25afb29523a5329b7d9 100644 (file)
@@ -22,8 +22,6 @@ public:
        ///
        explicit MathMacroArgument(std::size_t);
        ///
-       std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
@@ -38,6 +36,7 @@ public:
        void write(WriteStream & os) const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        /// A number between 1 and 9
        std::size_t number_;
        ///