]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formulabase.C
Even more ugly changes and a new file dependency to shut up Jean-Marc's
[lyx.git] / src / mathed / formulabase.C
index 4b963fb02e4bac1404e59faa54b0f82733ebddf0..01b585f828a86cd2db8a039ec3af9a891f71c8cf 100644 (file)
@@ -91,7 +91,7 @@ bool openNewInset(BufferView * bv, UpdatableInset * new_inset)
 
 
 // returns the nearest enclosing grid
-MathArrayInset * matrixpar(unsigned int & idx)
+MathArrayInset * matrixpar(MathInset::idx_type & idx)
 {
        idx = 0;
        return (mathcursor ? mathcursor->enclosingArray(idx) : 0); 
@@ -555,7 +555,7 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
        {
                bv->lockedInsetStoreUndo(Undo::INSERT);
                lyxerr << "handling halign '" << arg << "'\n";
-               unsigned int idx;
+               MathInset::idx_type idx;
                MathArrayInset * p = matrixpar(idx);
                if (!p)
                        break; 
@@ -568,7 +568,7 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
        {
                bv->lockedInsetStoreUndo(Undo::INSERT);
                lyxerr << "handling valign '" << arg << "'\n";
-               unsigned int idx;
+               MathInset::idx_type idx;
                MathArrayInset * p = matrixpar(idx);
                if (!p)
                        break; 
@@ -580,7 +580,7 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
        case LFUN_MATH_ROW_INSERT:
        {
                bv->lockedInsetStoreUndo(Undo::INSERT);
-               unsigned int idx;
+               MathInset::idx_type idx;
                MathArrayInset * p = matrixpar(idx);
                lyxerr << " calling LFUN_MATH_ROW_INSERT on " << p << endl;
                if (!p)
@@ -593,7 +593,7 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
        case LFUN_MATH_ROW_DELETE:
        {
                bv->lockedInsetStoreUndo(Undo::INSERT);
-               unsigned int idx;
+               MathInset::idx_type idx;
                MathArrayInset * p = matrixpar(idx);
                lyxerr << " calling LFUN_MATH_ROW_DELETE on " << p << endl;
                if (!p)
@@ -606,7 +606,7 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
        case LFUN_MATH_COLUMN_INSERT:
        {
                bv->lockedInsetStoreUndo(Undo::INSERT);
-               unsigned int idx;
+               MathInset::idx_type idx;
                MathArrayInset * p = matrixpar(idx);
                if (!p)
                        break; 
@@ -618,7 +618,7 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action,
        case LFUN_MATH_COLUMN_DELETE:
        {
                bv->lockedInsetStoreUndo(Undo::INSERT);
-               unsigned int idx;
+               MathInset::idx_type idx;
                MathArrayInset * p = matrixpar(idx);
                if (!p)
                        break;