]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_rootinset.C
everything is an inset. sizeof(MathInset) == 36 on IA32
[lyx.git] / src / mathed / math_rootinset.C
index d67cd851361bff5ba29097baf781d2138f3629cb..1f188a47dfb59156a0475a938614e60c38d59116 100644 (file)
@@ -20,7 +20,7 @@
 #include "Painter.h"
 
 MathRootInset::MathRootInset()
-       : MathInset(2)
+       : MathNestInset(2)
 {}
 
 
@@ -32,7 +32,7 @@ MathInset * MathRootInset::clone() const
 
 void MathRootInset::metrics(MathStyles st)
 {
-       MathInset::metrics(st);
+       MathNestInset::metrics(st);
        size_    = st;
        ascent_  = std::max(xcell(0).ascent()  + 5, xcell(1).ascent())  + 2;
        descent_ = std::max(xcell(1).descent() + 5, xcell(0).descent()) + 2;