]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_rootinset.C
make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
[lyx.git] / src / mathed / math_rootinset.C
index 69edc1cc9c107078e380e5c11b8f4637a589b623..41162470f11f2ebc8a6ead22fc90c34706a4e171 100644 (file)
@@ -70,22 +70,20 @@ void MathRootInset::normalize(NormalStream & os) const
 }
 
 
-bool MathRootInset::idxUp(idx_type & idx, pos_type & pos) const
+bool MathRootInset::idxUp(idx_type & idx) const
 {
        if (idx == 0)
                return false;
        idx = 0;
-       pos = cell(0).size();
        return true;
 }
 
 
-bool MathRootInset::idxDown(idx_type & idx, pos_type & pos) const
+bool MathRootInset::idxDown(idx_type & idx) const
 {
        if (idx == 1)
                return false;
        idx = 1;
-       pos = 0;
        return true;
 }