]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_numberinset.C
small up/down tweaking
[lyx.git] / src / mathed / math_numberinset.C
index fe22f8da8bb1827bdb4faafbbe9cae53945ba107..3051703c4a7d42ae0a4c84c072dff5beb4f49e9f 100644 (file)
@@ -24,7 +24,7 @@ MathInset * MathNumberInset::clone() const
 
 void MathNumberInset::metrics(MathMetricsInfo & mi) const
 {
-       mathed_string_dim(mi.base.font, str_, ascent_, descent_, width_);
+       mathed_string_dim(mi.base.font, str_, dim_);
 }
 
 
@@ -37,7 +37,7 @@ void MathNumberInset::draw(MathPainterInfo & pi, int x, int y) const
 
 void MathNumberInset::normalize(NormalStream & os) const
 {
-       os << "[number " << str_ << "]";
+       os << "[number " << str_ << ']';
 }