]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDots.cpp
fix off-by-two drawing error
[lyx.git] / src / mathed / InsetMathDots.cpp
index fa93e4bb924193d80e18819360d1495f55af1661..6e54907653e4131cbd9d7011c458db55e69c7655 100644 (file)
 #include <config.h>
 
 #include "InsetMathDots.h"
+
 #include "MathStream.h"
 #include "MathSupport.h"
 #include "MathParser.h"
+#include "MetricsInfo.h"
 
 #include "frontends/FontMetrics.h"
 
@@ -47,8 +49,6 @@ void InsetMathDots::metrics(MetricsInfo & mi, Dimension & dim) const
        }
        else if (key_->name == "ddots")
                dh_ = dim.asc;
-       // Cache the inset dimension. 
-       setDimCache(mi, dim);
 }