]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_binaryopinset.C
Fix math cursor positioning bug
[lyx.git] / src / mathed / math_binaryopinset.C
index 36bded271cb3fe88469dc40c3964666dd1a679e8..26a4df7fca6da714b285f7c32b3d23188f80c925 100644 (file)
@@ -12,7 +12,7 @@
 #include <config.h>
 
 #include "math_binaryopinset.h"
-#include "PainterInfo.h"
+#include "metricsinfo.h"
 #include "support/std_ostream.h"
 #include "math_support.h"
 #include "math_mathmlstream.h"
@@ -26,7 +26,7 @@ MathBinaryOpInset::MathBinaryOpInset(char op)
 {}
 
 
-auto_ptr<InsetBase> MathBinaryOpInset::clone() const
+std::auto_ptr<InsetBase> MathBinaryOpInset::clone() const
 {
        return auto_ptr<InsetBase>(new MathBinaryOpInset(*this));
 }
@@ -55,6 +55,7 @@ void MathBinaryOpInset::metrics(MetricsInfo & mi, Dimension & dim) const
 }
 #endif
 
+
 void MathBinaryOpInset::draw(PainterInfo & pain, int x, int y) const
 {
        cell(0).draw(pain, x, y);