]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_xyarrowinset.C
Fix math cursor positioning bug
[lyx.git] / src / mathed / math_xyarrowinset.C
index 522d3e0d8c2e361ea7ef041b251f5b7c30dbbee9..5ff8ef3437a01c0ccad5c65393a5aa6d06e3d9a1 100644 (file)
@@ -11,7 +11,6 @@
 #include <config.h>
 
 #include "math_xyarrowinset.h"
-#include "math_xymatrixinset.h"
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
 #include "math_support.h"
@@ -27,9 +26,9 @@ MathXYArrowInset::MathXYArrowInset()
 {}
 
 
-auto_ptr<InsetBase> MathXYArrowInset::clone() const
+std::auto_ptr<InsetBase> MathXYArrowInset::clone() const
 {
-       return auto_ptr<InsetBase>(new MathXYArrowInset(*this));
+       return std::auto_ptr<InsetBase>(new MathXYArrowInset(*this));
 }
 
 
@@ -61,7 +60,7 @@ MathArray const & MathXYArrowInset::targetCell() const
                       << "target: n: " << n << " out of range" << endl;
                n = 0;
        }
-  return p->cell(n);
+       return p->cell(n);
 #else
        static MathArray dummy;
        return dummy;
@@ -72,7 +71,7 @@ MathArray const & MathXYArrowInset::targetCell() const
 MathArray const & MathXYArrowInset::sourceCell() const
 {
 #if 0
-  return targetMatrix()->cell(mi_.idx);
+       return targetMatrix()->cell(mi_.idx);
 #else
        static MathArray dummy;
        return dummy;