]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_xiter.C
small cleanup, doxygen, formatting changes
[lyx.git] / src / mathed / math_xiter.C
index 40ca0eba33401bb31980ee44aa6f4f560c0a225b..44e5304a395b6acbc8d962f5c11832f347ce707c 100644 (file)
@@ -187,7 +187,6 @@ MathedXIter::MathedXIter(MathParInset * pp)
        x = y = 0;
        sx = sw = 0;   
        limits = false;
-       s_type = 0;  
        if (p) 
                SetData(p);
        else {
@@ -215,7 +214,7 @@ void MathedXIter::SetData(MathParInset * pp)
        } 
        if (!array) {
                array = new MathedArray; // this leaks
-               p->SetData(array);
+               p->setData(array);
        }
        size = p->GetStyle();
        Reset();
@@ -329,13 +328,14 @@ bool MathedXIter::Prev()
 }
 
 
-bool MathedXIter::goNextColumn()
+void MathedXIter::goNextColumn()
 {  
-       int rowp = row;
+       //int rowp = row;
        int colp = col;
-       while (Next() && col == colp);
+       while (Next() && col == colp)
+               ;
        
-       return (col != colp + 1 || rowp != row);
+       //return (col != colp + 1 || rowp != row);
 }