]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_envinset.C
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / math_envinset.C
index 31b457a89859f29d95efbc3485add3f82b6a4182..c4a6ef71028ffdfde466912590ea0155fbede7c2 100644 (file)
@@ -1,8 +1,5 @@
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include "math_envinset.h"
 #include "math_mathmlstream.h"
@@ -23,14 +20,14 @@ MathInset * MathEnvInset::clone() const
 
 void MathEnvInset::metrics(MathMetricsInfo & mi) const
 {
-       dim_ = xcell(0).metrics(mi);
+       dim_ = cell(0).metrics(mi);
        metricsMarkers2();
 }
 
 
 void MathEnvInset::draw(MathPainterInfo & pi, int x, int y) const
 {
-       xcell(0).draw(pi, x + 1, y);
+       cell(0).draw(pi, x + 1, y);
        drawMarkers2(pi, x, y);
 }
 
@@ -43,7 +40,7 @@ void MathEnvInset::write(WriteStream & os) const
 
 void MathEnvInset::normalize(NormalStream & os) const
 {
-       os << "[env " << name_ << " " << cell(0) << ']';
+       os << "[env " << name_ << ' ' << cell(0) << ']';
 }