]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macrotemplate.C
rename the members of Dimension
[lyx.git] / src / mathed / math_macrotemplate.C
index 4f1ae017ecda13724097afeded1e4c8464703418..1342198e05ff367f8e07d9d80bcd1a74c3a7cd85 100644 (file)
@@ -66,9 +66,9 @@ void MathMacroTemplate::metrics(MetricsInfo & mi) const
 {
        cell(0).metrics(mi);
        cell(1).metrics(mi);
-       dim_.w = cell(0).width() + cell(1).width() + 10;
-       dim_.a = std::max(cell(0).ascent(),  cell(1).ascent())  + 2;
-       dim_.d = std::max(cell(0).descent(), cell(1).descent()) + 2;
+       dim_.wid = cell(0).width() + cell(1).width() + 10;
+       dim_.asc = std::max(cell(0).ascent(),  cell(1).ascent())  + 2;
+       dim_.des = std::max(cell(0).descent(), cell(1).descent()) + 2;
 }