]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathColor.cpp
* Inset:
[lyx.git] / src / mathed / InsetMathColor.cpp
index ed63d12c19df59160edfe94315891c914813979b..eb5ed56ca5f81bd1bd05921e168ddbb9e1de6bd3 100644 (file)
@@ -38,14 +38,11 @@ Inset * InsetMathColor::clone() const
 }
 
 
-bool InsetMathColor::metrics(MetricsInfo & mi, Dimension & dim) const
+void InsetMathColor::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        cell(0).metrics(mi, dim);
        metricsMarkers(dim);
-       if (dim_ == dim)
-               return false;
        dim_ = dim;
-       return true;
 }