]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_numberinset.C
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / math_numberinset.C
index fe22f8da8bb1827bdb4faafbbe9cae53945ba107..87bc4b05bc2344d502f657b782da41907c0db5ba 100644 (file)
@@ -1,8 +1,5 @@
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include "math_numberinset.h"
 #include "math_mathmlstream.h"
@@ -24,7 +21,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,17 +34,17 @@ void MathNumberInset::draw(MathPainterInfo & pi, int x, int y) const
 
 void MathNumberInset::normalize(NormalStream & os) const
 {
-       os << "[number " << str_ << "]";
+       os << "[number " << str_ << ']';
 }
 
 
-void MathNumberInset::maplize(MapleStream & os) const
+void MathNumberInset::maple(MapleStream & os) const
 {
        os << str_;
 }
 
 
-void MathNumberInset::octavize(OctaveStream & os) const
+void MathNumberInset::octave(OctaveStream & os) const
 {
        os << str_;
 }