]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_nestinset.C
using previews might be a good alternative to hard coding such diagrams...
[lyx.git] / src / mathed / math_nestinset.C
index 2358c582d319d3af7205815cd74e0a2e8de0021b..91f11b36c9995f7725870a25fdc1e1266575177f 100644 (file)
@@ -58,11 +58,8 @@ void MathNestInset::substitute(MathMacro const & m)
 void MathNestInset::metrics(MathMetricsInfo const & mi) const
 {
        MathMetricsInfo m = mi;
-       m.inset = this;
-       for (idx_type i = 0; i < nargs(); ++i) {
-               m.idx = i;
+       for (idx_type i = 0; i < nargs(); ++i)
                xcell(i).metrics(m);
-       }
 }