]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fracbase.C
more IU
[lyx.git] / src / mathed / math_fracbase.C
index 13d5ae5f47487fe0b93df6c552c8dc1904d0fc2c..24bbd29ca042481b296b35b03a7093ed2a1c15de 100644 (file)
@@ -1,9 +1,17 @@
-#ifdef __GNUG__
-#pragma implementation
-#endif
+/**
+ * \file math_fracbase.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
+#include <config.h>
 
 #include "math_fracbase.h"
-#include "math_mathmlstream.h"
+#include "math_data.h"
 
 
 MathFracbaseInset::MathFracbaseInset()
@@ -30,6 +38,6 @@ bool MathFracbaseInset::idxUpDown(idx_type & idx, pos_type & pos, bool up,
        if (idx == target)
                return false;
        idx = target;
-       pos = xcell(idx).x2pos(targetx);
+       pos = cell(idx).x2pos(targetx);
        return true;
 }