]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathHull.cpp
Be careful before using buffer parameters in colAlign
[features.git] / src / mathed / InsetMathHull.cpp
index 261f7f27bbff48fc799110883646483f0b6923f1..7da33199c6743541a33a902a7e0376b5ff840e6e 100644 (file)
@@ -430,7 +430,7 @@ InsetMath::mode_type InsetMathHull::currentMode() const
 // alignment is not implemented in the LyXHTML output.
 char InsetMathHull::defaultColAlign(col_type col)
 {
-       return colAlign(type_, col, buffer().params());
+       return colAlign(type_, col);
 }
 
 
@@ -452,7 +452,7 @@ char InsetMathHull::displayColAlign(idx_type idx) const
        case hullXAlignAt:
        case hullXXAlignAt:
        case hullFlAlign:
-               return colAlign(type_, col(idx), buffer().params());
+               return colAlign(type_, col(idx));
        default:
                break;
        }