#include "MathStream.h"
#include "MathSupport.h"
+using namespace std;
namespace lyx {
-using std::vector;
InsetMathNumber::InsetMathNumber(docstring const & s)
: str_(s)
}
-bool InsetMathNumber::metrics(MetricsInfo & mi, Dimension & dim) const
+void InsetMathNumber::metrics(MetricsInfo & mi, Dimension & dim) const
{
mathed_string_dim(mi.base.font, str_, dim);
- if (dim_ == dim)
- return false;
- dim_ = dim;
- return true;
}