]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_binaryopinset.h
Fix math cursor positioning bug
[lyx.git] / src / mathed / math_binaryopinset.h
index 538696e0ffa6ca7675196896e4e707454e5ec330..76b4829a244a912577b252fbe458481adef99432 100644 (file)
@@ -13,7 +13,7 @@
 #define MATH_BINARYOPINSET_H
 
 #include "math_nestinset.h"
-#include "math_nestinset.h"
+#include "metricsinfo.h"
 
 
 /// An inset for multiplication
@@ -22,7 +22,7 @@ public:
        ///
        explicit MathBinaryOpInset(char op);
        ///
-       InsetBase * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///