]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathMacroTemplate.cpp
* moved atom_dim_ to coord cache in the buffer view to make it dependent on the buffe...
[features.git] / src / mathed / MathMacroTemplate.cpp
index 68926d47aef40849a248fe4a91224d20c6cc7589..f1d8e439e5cc13c8dfdd2c62ae783b9f2fac313f 100644 (file)
@@ -137,8 +137,6 @@ void InsetLabelBox::metrics(MetricsInfo & mi, Dimension & dim) const
                if (!parent_.premetrics())
                        dim.des += maxasc + maxdes + 1;
        }
-
-       setDimCache(mi, dim);
 }
 
 
@@ -221,7 +219,6 @@ void DisplayLabelBox::metrics(MetricsInfo & mi, Dimension & dim) const
                dim.wid = 0;
                dim.asc = 0;
                dim.des = 0;
-               setDimCache(mi, dim);
        }
 }