]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_gridinset.C
everything is an inset. sizeof(MathInset) == 36 on IA32
[lyx.git] / src / mathed / math_gridinset.C
index b7629ad227d38ab059962c87bfb54f808f214a2b..44bd4816acbac89fed82ae9e6504e7ce661be56c 100644 (file)
@@ -30,7 +30,7 @@ MathGridInset::ColInfo::ColInfo()
 
 
 MathGridInset::MathGridInset(int m, int n, string const & nm)
-       : MathInset(m * n, nm), rowinfo_(n), colinfo_(m), v_align_('c')
+       : MathNestInset(m * n, nm), rowinfo_(n), colinfo_(m), v_align_('c')
 {
        if (m <= 0)
                lyxerr << "positve number of columns expected\n";
@@ -77,7 +77,7 @@ char MathGridInset::valign() const
 void MathGridInset::metrics(MathStyles st)
 {
        // let the cells adjust themselves
-       MathInset::metrics(st);
+       MathNestInset::metrics(st);
        size_ = st;
 
        // adjust vertical structure