]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathString.cpp
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathString.cpp
index 28e0aac7efb425bbfe6081742fcef5e77e6ca119..1597d63191705a12dd1209c4b501a8bcc1e3c3de 100644 (file)
@@ -29,13 +29,9 @@ Inset * InsetMathString::clone() const
 }
 
 
-bool InsetMathString::metrics(MetricsInfo & mi, Dimension & dim) const
+void InsetMathString::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        mathed_string_dim(mi.base.font, str_, dim);
-       if (dim_ == dim)
-               return false;
-       dim_ = dim;
-       return true;
 }